rating
Rating ⇒ JSX.Element
Rating component that allows a user to rate a product.
Kind: global constant
Returns: JSX.Element
- The Rating component.
Param | Type | Description |
---|---|---|
props | Object | The properties passed to the component. |
props.rating | number | The initial rating of the product. |