SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface WalkingCopyCommandButtonProps

    interface WalkingCopyCommandButtonProps {
        command?: ResolvedCommand<any, any, void>;
        commandKey?: string;
        commandState?: any;
        disabled?: boolean;
        disableHover?: boolean;
        groupKey?: string;
        icon?:
            | ReactNode
            | ((command: ResolvedCommand<any, any, void>) => ReactNode);
        label?:
            | ReactNode
            | ((command: ResolvedCommand<any, any, void>) => ReactNode);
        propsTooltip?: any;
        selected?: boolean;
        shortcut?: IKeyStroke | IKeyStroke[];
        showLabel?: boolean;
        variant?: CommandButtonType;
    }

    Hierarchy

    • CommandButtonProps
      • WalkingCopyCommandButtonProps
    Index
    command?: ResolvedCommand<any, any, void>
    commandKey?: string
    commandState?: any

    Optional state for this specific command button.

    to undefined
    
    disabled?: boolean
    disableHover?: boolean
    groupKey?: string

    The panel/group the button renders in (e.g. 'contextMenu', 'cellStyle') — selects the command's matching groupLabels variant. Omit for the full label. (Named groupKey, NOT "scope" — command scopes are contributors; this is purely a presentation surface.)

    icon?: ReactNode | ((command: ResolvedCommand<any, any, void>) => ReactNode)
    label?: ReactNode | ((command: ResolvedCommand<any, any, void>) => ReactNode)
    propsTooltip?: any

    Tooltip properties. If this is specified then the tooltips are used. Do not provide a child as this component will be the child.

    selected?: boolean
    shortcut?: IKeyStroke | IKeyStroke[]

    The shortcut to display.

    This is display only and doesn't actually track the shortcut. Override the display for the shortcut on the command (if available).

    showLabel?: boolean

    Render the label as visible button content (alongside the icon) rather than tooltip-only. Toolbar buttons are icon-only by default; menu items always show their label. See CommandButtonEntry.showLabel for the entry-level equivalent.

    false
    
    variant?: CommandButtonType

    How the button will be styles.

    CommandButtonType.Toolbar