Skip to content

pantoken / formats/components/src / ComponentOptions

인터페이스: ComponentOptions

베타

모든 빌더에 공통적인 옵션입니다.

Extended by

속성

prefix?

optional prefix?: string | null

베타

클래스 접두사입니다. 참값 문자열은 모든 클래스의 네임스페이스를 지정합니다 ("instui".instui-button); 반면에 거짓값(null, undefined, "" 또는 해당 옵션을 생략하면) 접두사를 완전히 제거합니다 (.button), 따라서 class="heading -h1"를 작성할 수 있습니다. 이 패키지에 포함된 스타일시트는 "instui"로 빌드되어 제공됩니다.


theme?

optional theme?: ComponentTheme

베타

생성된 CSS의 대상 테마입니다. 생략하면 기본값은 "rebrand"입니다.