UNPKG

@wix/design-system

Version:

@wix/design-system

46 lines (43 loc) 1.48 kB
### children - type: ReactNode - description: No description ### 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. - internal ### suffix - type: ReactNode - description: An element/array of elements to appear at the end of the text. max number of elements to pass is 2 ### prefix - type: ReactNode - description: An element to appear at the start of the text. ### onMouseEnter - type: MouseEventHandler - description: A callback to be triggered on mouse enter ### onMouseLeave - type: MouseEventHandler - description: A callback to be triggered on mouse leave ### disabled - type: boolean - description: Indicates whether to display the item as disabled ### onClick - type: MouseEventHandler - description: A callback to be triggered on click ### itemKey - type: string - description: unique identifier per item, used to mark it for navigation and selection ### role - type: string - description: Defines one of the aria roles to provide semantic meaning to content ### minimizedTooltipContent - type: ReactNode - description: Content of the tooltip shown when the sidebar is minimized ### skin - type: "light" | "neutral" | "dark" - description: The skin of the item. Overrides the skin provided by the parent SidebarNext ### as - type: "button" - description: render as some other component or DOM tag