IActionButtonProps
@spartanfx/react / index / IActionButtonProps
Interface: IActionButtonProps
Props for ActionButton. A drop-in for Fluent's ActionButton: same
IButtonProps surface (text, onClick, disabled, checked,
menuProps, styles, …), but the glyph is an in-house icon name instead of
iconProps={{ iconName }}.
*
Extends
Omit<IButtonProps,"iconProps"|"onRenderIcon"|"menuIconProps"|"onRenderMenuIcon">
Properties
Options
| Property | Type | Description |
|---|---|---|
iconSize? | number | Pixel size of the glyph. Default 16. |
name? | string | In-house glyph to render to the left of the text (see SpartanIconName). Optional — omit for a text-only command button. |
Appearance & theming
| Property | Type | Description |
|---|---|---|
iconColor? | string | Glyph color. Defaults to the theme accent (matching Fluent ActionButton); also honors styles={{ icon: { color } }}. Set explicitly to override. |
+ 396 inherited members. standard HTML/ARIA attributes (e.g.
className,onClick,aria-*) are also accepted but omitted here for clarity.