PopupItemProps Interface

Properties of PopupItem component.

Extends

Properties

Name Type Description
hideIndicator boolean | undefined Describes if expandable item triangle indicator should be hidden.  
keepContentsMounted boolean | undefined If true the popup panel is mounted once and unmounted when button is unmounted.  
panel ReactNode | undefined Panel of the toolbar.  

Inherited properties

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

Defined in

Last Updated: 13 May, 2024