Skip to content

pantoken / formats/components/src / IconGlyphsOptions

인터페이스: IconGlyphsOptions

베타

Options for 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.