Wrapper

This component extends the native <div>arrow-up-right API, for example, the title attribute.

API

This component extends the native <div>arrow-up-right API. That's why the className prop is not included in the table.

Props
Data Type
Required

children

ReactNode

βœ…

isSideBarExpanded

boolean

❌

isSidebarFixed

boolean

❌

collapseSidebar

() => void;

❌

expandSidebar

() => void;

❌

chevron-rightchildrenhashtag

The subcomponents provided.

chevron-rightisSidebarExpandedhashtag

To control the state of the sidebar.

chevron-rightisSidebarFixedhashtag

To set the position of the sidebar to be fixed.

chevron-rightcollapseSidebarhashtag

Function triggered to collapse the sidebar.

chevron-rightexpandSidebarhashtag

Function triggered to expand the sidebar.

Last updated