@roo-ui/components
Version:
28 lines (19 loc) • 611 B
Markdown
# StarRating
<!-- STORY -->
## Installation
```shell
$ yarn add @roo-ui/components
```
## Example
```js
import { StarRating } from '@roo-ui/components';
export default (
<StarRating />
);
```
## Properties
| Name | Description | Type | Default | Required? |
| :----------- | :---------------------- | :------- | :------ | :-------- |
| `rating` | from 1 to 5 | `string` | - | true | ✔︎ |
| `ratingType` | AAA or SELF_RATED | `string` | - | ✔︎ |
| `size` | size of the icon | `string` | - | ✔︎ |