1.0.1 • Published 1 year ago
kempo-stars v1.0.1
Stars for feedback
This library was generated with Angular CLI version 15.0.0.
How to use it
You must first add it in the module
you want to use it
imports: [
BrowserModule,
AppRoutingModule,
StarsModule
],
Then you can use it with the required inputs
<lib-stars [stars]="4" [color]="'red'"></lib-stars>
El campo [stars]
es de tipo number
e indica que cantidad de estrellas deben ser pintadas.
Mientras que el campo [color]
es de tipo string
e indica el color de las estrellas, acepta cualquier color que pueda usarse en CSS.