Skip to content

Type Editor


Type Editor / @type-editor/menu / types/IconSpec

types/IconSpec

Type Aliases

Type AliasDescription

IconSpec

Specifies an icon. May be either an SVG icon, in which case its path property should be an SVG path spec, and width and height should provide the viewbox in which that path exists. Alternatively, it may have a text property specifying a string of text that makes up the icon, with an optional css property giving additional CSS styling for the text. Or it may contain dom property containing a DOM node.