Skip to content

lawrentiy/react-material-ui-rating

Repository files navigation

react-material-ui-rating

The current version is for Material UI v1.0

npm install --save material-ui@next
npm install --save material-ui-icons

Rating component for React (facebook.github.io/react/docs/getting-started.html) Material-ui (https://github.com/callemall/material-ui)

Example

Default icon - star

Props:

  • value - Integer
  • readOnly - no comments...
  • onChange - fires when user change the value of rating
  • values - array of int (default [1,2,3,4,5])

TODO:

  • Props to change default icon
  • add package.json file