Skip to content

pantoken / formats/components/src / IconGlyphsOptions

इंटरफेस: IconGlyphsOptions

बीटा

iconGlyphsCss के लिए विकल्प।

विस्तार करता है

प्रॉपर्टीज

prefix?

optional prefix?: string | null

बीटा

क्लास प्रीफ़िक्स। एक सत्य-समतुल्य स्ट्रिंग हर क्लास को नामस्थान करती है ("instui".instui-button); कोई भी निराधार मान (null, undefined, "", या विकल्प को छोड़ देना) प्रीफ़िक्स को पूरी तरह हटा देता है (.button), ताकि आप class="heading -h1" रचना कर सकें। इस पैकेज द्वारा भेजे गए स्टाइलशीट "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.