Are you an LLM? You can read better optimized documentation at /api/room-shell/functions/SidebarButton.md for this page in Markdown format
@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>
