@yarcl/react
    Preparing search index...

    Interface SplitButtonOption<V>

    An action available from a SplitButton.

    interface SplitButtonOption<V extends string = string> {
        disabled?: boolean;
        icon?: ReactNode;
        label: string;
        value: V;
    }

    Type Parameters

    • V extends string = string
    Index
    disabled?: boolean

    Prevents selecting or executing this action.

    icon?: ReactNode

    Decorative icon shown before the label.

    label: string

    Visible action label, also used for type-to-select.

    value: V

    Value reported when this action is selected or executed.