ButtonOrDropdownButtonProps interface

The properties of the ButtonOrDropdownButton React component.


export interface ButtonOrDropdownButtonProps<T extends string> 


childrenReact.ReactNodeThe contents of the button - usually an icon.
items{ value: T; label: string | JSX.Element; }[]The items to show in the dropdown.
onChoose(value: T) => voidThe function to execute when the button is clicked or an item is chosen from the dropdown. If there is only one item in the dropdown, the value will be an empty string.
titlestringThe title used for the tooltip.