Skip to main content

IListItemProps

Props of ListItem

Properties​

active?​

optional active: boolean

Whether the item is currently active/selected


children?​

optional children: ReactNode

Content to render inside the list item


className?​

optional className: string

Additional CSS classes for the list item


onNavigate?​

optional onNavigate: VoidFuncNoParam

Event handler called when the item is clicked/navigated


showTooltip?​

optional showTooltip: boolean

Whether a tooltip should be shown when the text overflows