@wix/design-system
Version:
@wix/design-system
46 lines (42 loc) • 1.39 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.
### suffix
- type: union
- description: An element/array of elements to appear at the end of the text. max number of elements to pass is 2
### prefix
- type: node
- description: An element to appear at the start of the text.
### 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
### isInQuickNavigation
- type: bool
- description: indicates whether the item is inside quickNavigation popover
### role
- type: string
- description: Defines one of the aria roles to provide semantic meaning to content
### minimizedTooltipContent
- type: node
- description: An element to appear as the content of the tooltip
### onMouseEnter
- type: func
- description: A callback to be triggered on mouse enter
### onMouseLeave
- type: func
- description: A callback to be triggered on mouse leave