SidebarExpandButton()
Home > @backstage/core-components
> SidebarExpandButton
A button which allows you to expand the sidebar when clicked.
Signature:
SidebarExpandButton: () => React.JSX.Element | null
Returns:
React.JSX.Element | null
Remarks
Use optionally to replace sidebar's expand-on-hover feature with expand-on-click.
If you are using this you might want to set the disableExpandOnHover
of the Sidebar
to true
.