Skip to content

dm67x/react-rtstar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-rtstar logo

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
}

About

react-rtstar is a react component to give you opportunity to make great and easy to use rating/notation system.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published