React.ReactNode
`DrawerSection`s and/or `DrawerItem`s.
React.ReactNode
Pinned below the scrolling items.
() => void
Modal only: called on scrim press, Android back and Escape (web).
string
Headline at the top of the drawer.
"standard" | "modal"
default: "standard"
`"standard"` is an inline panel to place beside the content (expanded
windows and up). `"modal"` slides over the content with a scrim.
Defaults to `"standard"`.
boolean
default: false
Modal only: whether the drawer is open.
number
default: DRAWER_WIDTH
Defaults to 360 (M3), capped at the window width when modal.