Drawer

Props

NamePropTypeRequiredDefault ValueAllowed ValuesDescription
childrennodefalsenullThe content to appear in the drawer body.
classNamestringfalseundefined
footerContentnodefalsenullThe content to appear in the drawer footer.
headerTitlestringfalsenullThe content to appear in the drawer header.
onClosefuncfalsenullThe action to perform on close click.
openboolfalsefalseThe status of Drawer either open or not.
positionenumfalsePosition.RIGHT
  • left
  • right
The placement of Drawer on the screen either left or right.
Edit these docs on Github