Sanity Library Reference Docs
    Preparing search index...

    Interface BaseActionDescriptionBeta

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

    Hierarchy (View Summary)

    Index

    Properties

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