Wrapper

This component extends the native <div> API, for example, the title attribute.

API

This component extends the native <div> 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;

children

The subcomponents provided.

isSidebarExpanded

To control the state of the sidebar.

isSidebarFixed

To set the position of the sidebar to be fixed.

collapseSidebar

Function triggered to collapse the sidebar.

expandSidebar

Function triggered to expand the sidebar.

Last updated