The rating component is used to indicate how something has been assessed based on quality, standards, or performance.
For a rating, you must minimally provide:
emptyIcon: empty iconfullIcon: fully-filled iconhalfIcon: half-filled iconlabel: accessible labelmax: naximum rating valuevalue: the rating valueThe rating component uses EzIcon. For more information about how to provide an icon to Recipe from your application, see EzIcon.
For accessibility purposes, Recipe provides the rating component role="img" and aria-label, based on the label provided.
The same values available for the EzIcon's color can be provided as an optional prop.
We currently support theme palette properties (primary, secondary, error, warning, info, and success) as well as all supported theme colors (ex. common.primary100).
If you want to specify a size, use the size prop. We currently support small, medium (default), large, and inherit.