ActionWithChildren
Definition
export interface ActionWithChildren extends Omit<BaseAction, 'onClick'> {
/**
* Child actions or a function returning child actions or a React node, rendered in a dropdown.
*/
children: BaseAction[] | ((item?: any) => ReactNode | BaseAction[]);
/**
* Optional ref to pass to the Dropdown component for the action.
*/
ref?: any;
}Usage
import { ActionWithChildren } from 'uxp/components';Related Types
Last updated