EkomiRating
This component can be used to show the ekomi rating.
Usage
import EkomiRating from "@finanzchef24gmbh/design-system/src/EkomiRating";
Props
| Property name | Type | Required | Values | Default |
|---|---|---|---|---|
isCondensed | boolean | - | true or false | false |
scale | String | - | "tiny", "small", "medium", "big", "huge", "gigantic", "small" |
- If
isCondensedis false, we additionally show the score. - The
scalechanges the size of the stars.
Examples
<EkomiRating />
4.9 / 5
Example without score
<EkomiRating isCondensed />
Example with scale
<EkomiRating isCondensed scale="gigantic" />