Action Sheet
A short list of choices in one panel: optional title and message on top, left-aligned rows with leading icons, Cancel last. Rises from the bottom on phones, a centered panel on wide screens.
import { ActionSheet } from "pleate/action-sheet";Photo actions
Props
- actions
Choices.
{ label, onSelect?, icon?, destructive?, disabled? }[]- title / message
Optional header.
ReactNode- trigger / open / onOpenChange
Uncontrolled with a trigger, or controlled.
- cancelLabel
Cancel button text.
ReactNodedefault "Cancel"