@wix/design-system
Version:
@wix/design-system
43 lines (39 loc) • 1.21 kB
Markdown
### as
- type: union
- description: render as some other component or DOM tag
### href
- type: string
- description: URL of the page that link goes to
### 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.
### disabled
- type: bool
- description: Indicates whether to display the item as disabled
### onClick
- type: func
- description: A callback to be triggered on click
### itemKey
- type: string
- description: unique identifier per item, used to mark it for navigation and selection
### title
- type: node
- description: An element to appear as the title of the submenu
### onExpand
- type: func
- description: A callback to be triggered when the sub menu expands
### onCollapse
- type: func
- description: A callback to be triggered when the sub menu collapses
### suffix
- type: union
- description: An element to appear at the end of the text
### prefix
- type: node
- description: An element to appear at the start of the text.
### onQuickNavOpen
- type: func
- description: A callback to be triggered when the quick nav opens