Enode — API Reference
    Preparing search index...

    Interface SwipeActionRowProps

    interface SwipeActionRowProps {
        actionLabel: string;
        children: ReactNode;
        disabled?: boolean;
        onAction: () => void;
        onOpenChange: (open: boolean) => void;
        open: boolean;
    }
    Index

    Properties

    actionLabel: string

    Label on the revealed panel — also its accessible name.

    children: ReactNode
    disabled?: boolean

    Turn the gesture off entirely (e.g. while the list is selecting).

    onAction: () => void

    Run the action: a full swipe, or a tap on the revealed panel.

    onOpenChange: (open: boolean) => void
    open: boolean

    Whether this row's panel is open. Owned by the list so only one row can be open at a time — the same rule a native list follows.