Rating

import Rating from 'frui/formats/Rating';
Copy

Props

NameTypeRequiredNotes
maxnumberNoMax stars
remainderbooleanNoAdd remaining stars between value and max
roundstringNoround, floor or ceil
valuestring|numberYesDefault value

Basics

<Rating value="3.5" max={5} remainder round="floor" />
Copy