react-rtstar
v4.0.1
Published
react-rtstar
Downloads
6
Maintainers
Readme
react-rtstar
Usage
import RtStar from 'react-rtstar'
<RtStar />
Props
type RtStarProps = {
stars?: number // number of stars
size?: number // size of stars in pixel
activeColor?: string
inactiveColor?: string
value?: number
onChange?: (value: number) => void
}