HeaderAction
HeaderAction(
props):Element
Defined in: packages/react/src/ui/ActionsMenu.tsx:115
One field-level header action (Copy all, Paste, Replace all, Collapse all, Expand all) rendered for one surface: a text button on the field’s label row while there is room, or an item in the field’s ⋯ menu when there is not — callers render exactly one surface at a time.
Parameters
Section titled “Parameters”disabled?
Section titled “disabled?”boolean
Whether the action is unavailable.
ReactNode
The action’s icon element (shown in the menu).
string
Button / menu item text.
onClick
Section titled “onClick”() => void
Performs the action.
placement
Section titled “placement”The surface this render is for.
Returns
Section titled “Returns”Element
The inline button or the menu item.