A tiny star rating component with custom icons for React.
MIT License
A tiny star rating component with custom icons for React.
react-star is available on npm. It can be installed with the following command:
npm install react-star --save
react-star is available on yarn as well. It can be installed with the following command:
yarn add react-star
import React from 'react';
import { Star } from 'react-star';
class App extends React.Component {
render() {
return (
<Star
onChange={(value) => console.log(value)}
/>
);
}
};
export default App;
If you think any of the react-star
can be improved, please do open a PR with any updates and submit any issues. Also, I will continue to improve this, so you might want to watch/star this repository to revisit.
We'd love to have your helping hand on contributions to react-star
by forking and sending a pull request!
Your contributions are heartily ♡ welcome, recognized and appreciated. (✿◠‿◠)
How to contribute:
The MIT License