Skip to content

pantoken / formats/components/src / IconGlyphsOptions

Atanga: IconGlyphsOptions

Beta

Kōwhiringa mō iconGlyphsCss.

Whānui ake

Ngā Rawa

prefix?

optional prefix?: string | null

Beta

Te tautau mua mō ngā karaehe. Ko tētahi aho pono ka whakarite ingoa wāhanga mō ia karaehe ("instui".instui-button); mō ngā uara hē kē (null, undefined, "", rānei mā te waiho i te kōwhiringa) ka wetewetehia te tautau katoa (.button), nō reira ka taea e koe te tuhi class="heading -h1". Ko ngā kāri-kāhua (stylesheets) e tukuna ana e tēnei mōkihi kua hangaia me "instui".

I whakawhiwhia mai i

ComponentOptions.prefix


theme?

optional theme?: ComponentTheme

Beta

Te kaupapa whāinga mō te CSS e whakaputaina. He "rebrand" te taunoa mēnā kāore i whakatakotoria.

I whakawhiwhia mai i

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.