Skip to content

pantoken / formats/components/src / IconGlyphsOptions

رابط: IconGlyphsOptions

بتا

گزینه‌ها برای iconGlyphsCss.

گسترش می‌دهد

خصوصیات

prefix?

optional prefix?: string | null

بتا

پریفیکسِ کلاس. یک رشته‌ی truthy فضای نام هر کلاس را تعیین می‌کند ("instui".instui-button); هر مقدار falsy (null, undefined, ""، یا حذف گزینه) پریفیکس را کاملاً حذف می‌کند (.button)، بنابراین می‌توانید class="heading -h1" بنویسید. folhasِ استایلِ همراه این بسته با "instui" ساخته شده‌اند.

ارث‌بری از

ComponentOptions.prefix


theme?

optional theme?: ComponentTheme

بتا

تم هدف برای CSS تولیدشده. در صورت حذف، پیش‌فرض "rebrand" است.

ارث‌بری از

ComponentOptions.theme


deprecatedAliases?

optional deprecatedAliases?: boolean

بتا

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.