CustomActionButton

Definition

export interface CustomActionButton {
    /**
     * Icon to display on the button
     */
    icon: string;
    /**
     * Callback when button is clicked
     */
    onClick: (node: ExtendedTreeNode) => void;
    /**
     * Optional tooltip text
     */
    tooltip?: string;
}

Usage

import { CustomActionButton } from 'uxp/components';

Last updated