A tiny star rating component with custom icons for React Native.
A tiny star rating component with custom icons for React Native.
react-native-star is available on npm. It can be installed with the following command:
npm install react-native-star --save
react-native-star is available on yarn as well. It can be installed with the following command:
yarn add react-native-star
import { Star } from "react-native-star";
export default function App() {
return (
<Star
onChange={(value) => {console.log(value)}}
/>
);
}
If you think any of the react-native-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-native-star
by forking and sending a pull request!
Your contributions are heartily ♡ welcome, recognized and appreciated. (✿◠‿◠)
How to contribute:
Bunlong |