Install the component dependency:
Include a React component in your project:
|React element||content the drawer slides out from|
|React element||content inside the drawer|
|boolean||override for controlling internal drawer state|
|triggered when the drawer opens or closes|
|boolean||drawer is open on first render|
A drawer as well as its expanded region can be wrapped around other components and adapt to their size.
The DrawerBase may expand to fit any elements, and includes the mechanism to expose the DrawerPanel.
The DrawerPanel may expand to fit any elements. No default spacing is built in.
To specify the light theme, wrap your components in a