3.0.3 • Published 2 years ago

@simuratli/rating v3.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Simple customizable rating component

Download

npm install @simuratli/rating

Tutiorial

After download package import it like:

import { Rating } from '@simuratli/rating'

Simple usage of Rating component like that:

<Rating rate={2} precision={0.5} />

Rating component with custom svg:

<Rating filledIcon={FilledHearth} emptyIcon={Hearth} rate={2} precision={0.5} />

  • rate: number(show current rate)
  • precision: number(must be smaller or equal than 1, It used for we want to dvide 1 icon how many parts)

Example website

3.0.3

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

1.0.0

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago