The properties for the drawer.
A React component representing the drawer.
The Drawer component is built on top of the Dialog component. It automatically
calculates its entrance and exit animations based on its variant and the current
document writing mode provided by useWritingMode.
<Drawer open={isOpen} onClose={() => setIsOpen(false)}>
<p>This is a drawer</p>
</Drawer>
A sliding panel component that appears from the edge of the screen.