Use this property to pass in Fluent UI CommandBar property directly. It will overwrite the values of other conflict properties
Do not use ICommandBarItemProps.subMenuProps here since it will be overwritten. If need, specify its value using RibbonButton.dropDownMenu.commandBarSubMenuProperties.
A drop down menu of this button. When set this value, the button will has a "v" icon to let user know it will open a drop down menu. And the onClick handler will only be triggered when user click a menu item of the drop down.
True if we need to flip the icon when render in Right-to-left page
Name of button icon. See https://developer.microsoft.com/en-us/fluentui#/styles/web/icons for all icons
Get if the current button should be checked
The current formatState of editor
True to show the button in a checked state, otherwise false
Get if the current button should be disabled
The current formatState of editor
True to show the button in a disabled state, otherwise false
key of this button, needs to be unique
Click handler of this button.
the editor instance
key of the button that is clicked
localized strings used by any UI element of this click handler
a utilities object to help render addition UI elements
Text of the button. This text is not localized. To show a localized text, pass a dictionary to Ribbon component via RibbonProps.strings.
Generated using TypeDoc
Represents a button on format ribbon