Sanity Library Reference Docs
    Preparing search index...

    Interface GroupableActionDescription<GroupType>Beta

    interface GroupableActionDescription<GroupType = unknown> {
        dialog?: unknown;
        disabled?: boolean;
        group?: GroupType[];
        icon?: ReactNode | ComponentType<{}>;
        label: string;
        onHandle?: () => void;
        shortcut?: string;
        title?: ReactNode;
        tone?:
            | "default"
            | "neutral"
            | "primary"
            | "suggest"
            | "positive"
            | "caution"
            | "critical";
    }

    Type Parameters

    • GroupType = unknown

    Hierarchy (View Summary)

    Index

    Properties

    dialog?: unknown
    disabled?: boolean
    group?: GroupType[]
    icon?: ReactNode | ComponentType<{}>
    label: string
    onHandle?: () => void
    shortcut?: string
    title?: ReactNode
    tone?:
        | "default"
        | "neutral"
        | "primary"
        | "suggest"
        | "positive"
        | "caution"
        | "critical"