Skip to content

pantoken / formats/components/src / IconGlyphsOptions

Vmesnik: IconGlyphsOptions

Beta

Možnosti za iconGlyphsCss.

Razširja

Lastnosti

prefix?

optional prefix?: string | null

Beta

Predpona razreda. Niz z resnično vrednostjo (truthy) določi imenski prostor za vsak razred ("instui".instui-button); katera koli neresnična vrednost (null, undefined, "" ali izpuščanje te možnosti) popolnoma odstrani predpono (.button), tako da lahko avtorirate class="heading -h1". Slogovne tabele, priložene temu paketu, so zgrajene z "instui".

Podedovano od

ComponentOptions.prefix


theme?

optional theme?: ComponentTheme

Beta

Ciljna tema za ustvarjen CSS. Če je izpuščeno, je privzeta vrednost "rebrand".

Podedovano od

ComponentOptions.theme


deprecatedAliases?

optional deprecatedAliases?: boolean

Beta

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.