Skip to content

pantoken / formats/components/src / IconGlyphsOptions

Interfáhta: IconGlyphsOptions

Behta

Válggat dát iconGlyphsCss.

Extendera

Properties

prefix?

optional prefix?: string | null

Behta

Klasšša prefikšša. Truthy string nammastejit juohke klasša ("instui".instui-button); fállašvuohta vērdnodat (null, undefined, "" vai optiovdna čuovvut) čuovvut prefikššan bures (.button), dego don sáhttá oalleheamit class="heading -h1". Stylesheet:at mii šaddet dán pakkasii leat ráhkadan mainnálaš "instui".

Eanetge definerejuvvon

ComponentOptions.prefix


theme?

optional theme?: ComponentTheme

Behta

Máilbmi álggu CSS:s mii ráhkadit. Duogáda lea "rebrand" muhto jos čuovvut, de dát leat almmuheapmi.

Eanetge definerejuvvon

ComponentOptions.theme


deprecatedAliases?

optional deprecatedAliases?: boolean

Behta

Also emit the deprecated InstUI-prop glyph aliases (-render-icon-<name>, -render-custom-icon-<name>) as functional aliases of -icon-<name>. Off by default — turning it on roughly doubles the sheet, so enable it only when you need markup written against the old renderIcon/renderCustomIcon prop names to keep rendering. The shipped icons.css is built with this on.