ToolbarButtonItemProps Interface

Properties of ToolbarButtonItem component.

Extends

Properties

Name Type Description
addGroupSeparator boolean | undefined If true add a gap before button.  
badge ReactNode | undefined A badge to draw.  
groupPriority number | undefined value added to DOM element as a data attribute  
icon ReactNode | undefined button icon.  
isActive boolean | undefined Describes if item is active.  
isDisabled boolean | undefined Describes if the item is disabled.  
itemPriority number | undefined value added to DOM element as a data attribute, shows 0 is undefined  
onClick () => void | undefined    
onKeyDown (e: KeyboardEvent<Element>) => void | undefined    
providerId string | undefined value added to DOM element as a data attribute to hold name of items provider.  
title string Title for the item.  

Inherited properties

Name Type Inherited from Description
className string | undefined CommonProps Custom CSS class name
itemId string | undefined CommonProps Optional unique identifier for item.
style CSSProperties | undefined CommonProps Custom CSS style properties

Defined in

Last Updated: 01 May, 2024