@wix/design-system
Version:
@wix/design-system
28 lines (24 loc) • 884 B
Markdown
### dataHook
- type: string
- description: Applies a 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.
### activeId
- type: string
- description: Specifies an id of a currently visible tab.
### onTabChange
- type: func
- description: Defines a callback function which is called on tab change. An id of a newly selected tab is passed as a parameter.
### maxTabWidth
- type: union
- description: Defines a maximum width of a tab button.
### fluid
- type: bool
- description: Stretches tabs to fill a 100% of a parent container width
### ellipsis
- type: bool
- description: Specifies whether text that exceeds tab width is truncated with ellipsis. If false, text will wrap to another line.
### size
- type: enum
- description: Controls tab label font size