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" になります。