interface MenuToggleActionProps {
    children?: ReactNode;
    className?: string;
    id?: string;
    isDisabled?: boolean;
    onClick?: ((event: MouseEvent<HTMLButtonElement, MouseEvent>) => void);
}

Properties

children?: ReactNode

Element to be rendered inside the

className?: string

Additional classes added to the MenuToggleAction

id?: string

Id of the action button

isDisabled?: boolean

Flag to show if the action button is disabled

onClick?: ((event: MouseEvent<HTMLButtonElement, MouseEvent>) => void)

A callback for when the action button is clicked