Skip to content

pantoken / formats/components/src / IconGlyphsOptions

Comhéadan: IconGlyphsOptions

Béite

Roghanna do iconGlyphsCss.

Síneann

Airíonna

prefix?

optional prefix?: string | null

Béite

Réamhsheoladh na ranganna. Cuireann sreang 'fíor' ainmspás ar gach rang ("instui".instui-button); aon luach 'bréagach' (null, undefined, "", nó mura gcuirtear an rogha) bainfidh an réamhsheoladh go hiomlán (.button), ionas gur féidir leat class="heading -h1" a chruthú. Tá na stíleanna seolta ag an bpacáiste seo tógtha le "instui".

Oidhrithe ó

ComponentOptions.prefix


theme?

optional theme?: ComponentTheme

Béite

Téama sprioc don CSS a astaítear. Má fhágtar é as, bíonn "rebrand" mar réamhshocrú.

Oidhrithe ó

ComponentOptions.theme


deprecatedAliases?

optional deprecatedAliases?: boolean

Béite

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.