@sqlrooms/room-shell / SidebarButton
Function: SidebarButton()
SidebarButton(
props
):ReactNode
|Promise
<ReactNode
>
Parameters
Parameter | Type |
---|---|
props | { className : string ; title : string ; isSelected : boolean ; isDisabled : boolean ; icon : ComponentType <{ className : string ; }>; onClick : () => void ; } |
props.className ? | string |
props.title | string |
props.isSelected | boolean |
props.isDisabled ? | boolean |
props.icon | ComponentType <{ className : string ; }> |
props.onClick | () => void |
Returns
ReactNode
| Promise
<ReactNode
>