1.1.0 • Published 3 years ago

react-star v1.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

react-star

A tiny star rating component with custom icons for React.

🎁 Features

  • Easy to use
  • Compatible with both JavaScript and TypeScript

🔧 Install

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

💡 Usage

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;

📖 APIs

🔰 Callbacks

❗ Issues

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.

🌟 Contribution

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:

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

⚖️ License

The MIT License License: MIT

1.0.2

3 years ago

1.1.0

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.0

3 years ago