CustomIcon
type CustomIcon = object;
A custom button icon, provided as SVG markup for each visual state.
Each value is inlined verbatim into a data:image/svg+xml, source, so the
markup must be valid inside a URI
Example
{
* main: '<svg xmlns="http://www.w3.org/2000/svg" fill="%23000000"/>',
* hover: '<svg xmlns="http://www.w3.org/2000/svg" fill="%23ffffff"/>',
* }
Properties
| Property | Type | Description |
|---|---|---|
main | string | SVG markup for the default state. |
hover | string | SVG markup shown while the button is hovered or active. |