This is the Rating element. It differs from the 'click stars' component as this is read-only

Package version

npm i module-tsl-ui-elements --save
6.7.7

imports

import { Rating } from 'module-tsl-ui-elements';
@import '~module-tsl-ui-elements/rating/rating';

example (editable)

3.5
Good / very good
<Rating
  rating={3.5}
  size="lg"
  starRatingInfo={['Unsatisfactory', 'Satisfactory', 'Good', 'Very good', 'Outstanding']}
/>

Props

We couldn't detect props! Check if __docgenInfo is correctly defined

storybook

View Rating storybook stories