@wix/design-system
Version:
@wix/design-system
22 lines (18 loc) • 1.07 kB
Markdown
### dataHook
- type: string
- description: Applied as data-hook HTML attribute that can be used in the tests
### className
- type: string
- description: Specifies a CSS class name to be appended to the component’s root element.
### value
- type: number
- description: A number to be displayed as the trend, a positive number will be green with an arrow facing up and a negative number will be red with an arrow facing down
### inverted
- type: boolean
- description: Invert color and arrow direction.
### locale
- type: "en" | "en-US" | "en-GB" | "en-AU" | "en-CA" | "ar" | "bg" | "ca" | "zh" | "zh-TW" | "zh-HK" | "zh-MO" | "cs" | "da" | "nl" | "fi" | "fr" | "fr-CA" | "fr-CH" | "fr-BE" | "de" | "de-CH" | ... 31 more ... | "vi"
- description: Locale
### format
- type: "percent" | "decimal"
- description: Allow showing value as percentage or as absolute number