SubComponents
Page
The following components extend the native <div> API. That's why the className prop is not included in the tables.
children
ReactNode
β
PageContent
children
ReactNode
β
hasPadding
boolean
β
PageContentFooter
children
ReactNode
β
PageHeader
children
ReactNode
β
PageHeaderActions
children
ReactNode
β
PageHeaderNavigation
children
ReactNode
β
PageHeaderNavigationButton
This subcomponent extends the SDS Button API. Always a 'ghost' button.
PageHeaderTitle
children
ReactNode
β
Sidebar
children
ReactNode
β
SidebarContent
SidebarContentDivider
Just to add a divider in the Sidebar. Extend the 'div' props.
SidebarContentGroup
children
ReactNode
β
variant
'static' | 'accordion'
β
heading
string
β
defaultExpanded
boolean
β
isExpanded
boolean
β
onClick
(e: React.MouseEvent) => void;
β
SidebarContentGroupActions
children
ReactNode
β
SidebarContentGroupActionsButton
This subcomponent extends the SDS Button API. Always a 'ghost' button. Should be used inside a SidebarContentGroupActions. It is not required to use this button, but recommended. iconOnly variant used.
SidebarContentGroupItem
children
ReactNode
β
avatar
string
β
avatarProfilePic
string
β
isLoading
boolean
β
isActive
boolean
β
notification
string
β
notificationColor
| 'neutral' | 'inverted' | 'blue' | 'green' | 'yellow' | 'red' | 'indigo' | 'purple' | 'lime' | 'teal' | 'orange' | 'pink';
β
collapseSidebarOnMobile
() => void
β
SidebarHeader
children
ReactNode
β
TabBar
children
ReactNode
β
TabBarItem
notifcation
string
β
notificationColor
| 'neutral' | 'inverted' | 'blue' | 'green' | 'yellow' | 'red' | 'indigo' | 'purple' | 'lime' | 'teal' | 'orange' | 'pink';
β
isActive
boolean
β
Last updated