ButtonGroupItem
Definition
interface ButtonGroupItem extends Omit<ButtonComponentProps, 'variant' | 'active'> {
/**
* Unique identifier for the button.
*/
id: string;
/**
* Optional dropdown content for the button, making it a dropdown button.
*/
dropdownContent?: React.ReactNode;
/**
* Position of the dropdown relative to the button.
*/
dropdownPosition?: DropdownPosition;
/**
* If true, shows an anchor connecting the dropdown to the button.
*/
showAnchor?: boolean;
}Usage
Related Types
Last updated