() => void
Called by the close button, and in modal mode by the scrim, Android back and Escape.
React.ReactNode
A row of buttons at the bottom, below a divider.
boolean
default: true
`true` slides over the content with a scrim; `false` is a standard sheet
you place in a row beside the content. Defaults to `true`.
() => void
Shows a back button before the title — for a sheet with sub-pages.
boolean
default: true
Defaults to `true`.
"start" | "end"
default: "end"
The edge it attaches to, in reading direction. Defaults to `"end"`.
boolean
default: false
Modal only: whether the sheet is open.
number
default: SHEET_WIDTH
Defaults to 360, capped at the window width.