@hawk-ui/rating
v4.4.1
Published
hawk-ui: Basic Rating Component
Downloads
33
Maintainers
Readme
Installation
To install a component run
$ npm install @hawk-ui/rating --save
Please import CSS styles via
@import '/path__to__node_modules/@hawk-ui/rating/dist/index.min.css
Usage
Rating
import Rating from '@hawk-ui/rating';
<Rating
active={3}
onClick={(item) => { console.log('item', item); }}
/>