@wix/design-system
Version:
@wix/design-system
37 lines (33 loc) • 1.03 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.
### text
- type: node
- description: The text to be rendered within the badge.
### subtitle
- type: string
- description: The secondary text to be rendered within the badge.
### skin
- type: string
- description: The badge's skin. See the <Badge/> story for the full list of available skins.
### ellipsis
- type: bool
- description: Should the text and subtitle get ellipsis with tooltip, or should it get broken into lines when it reaches the end of its container
### selected
- type: bool
- description: If true, the item is selected
### highlighted
- type: bool
- description: If true, the item is highlighted
### disabled
- type: bool
- description: If true, the item is disabled
### suffix
- type: node
- description: Any suffix
### size
- type: enum
- description: Changing text size