react-native-star

A tiny star rating component with custom icons for React Native.

Usage no npm install needed!

<script type="module">
  import reactNativeStar from 'https://cdn.skypack.dev/react-native-star';
</script>

README

react-native-star

A tiny star rating component with custom icons for React Native.

🔧 Install

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

Usage

import { Star } from "react-native-star";

export default function App() {
  return (
    <Star
      onChange={(value) => {console.log(value)}}
    />
  );
}

❗ Issues

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.

🌟 Contribution

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:

  • Open pull request with improvements
  • Discuss ideas in issues
  • Spread the word
  • Reach out with any feedback

⚖️ License

The MIT License License: MIT