IIconProps
@spartanfx/react / index / IIconProps
Interface: IIconProps
Props for Icon. Extends the native <svg> attributes so callers can
pass onClick, aria-*, data-*, style, etc. straight through.
*
Extends
SVGAttributes<SVGSVGElement>
Properties
Required
| Property | Type | Description |
|---|---|---|
name | string | Name of the in-house glyph to render (see SpartanIconName). Accepts any string for call sites that pass through Fluent-style iconName values; an unknown name renders nothing so layout never breaks. |
Options
+ 468 inherited members. standard HTML/ARIA attributes (e.g.
className,onClick,aria-*) are also accepted but omitted here for clarity.