Skip to content

pantoken / formats/components/src / ComponentOptions

อินเทอร์เฟซ: ComponentOptions

เบต้า

ตัวเลือกที่ใช้ร่วมกันสำหรับตัวสร้างทุกตัว.

Extended by

คุณสมบัติ

prefix?

optional prefix?: string | null

เบต้า

คำนำหน้าคลาส. สตริงที่เป็นค่าจริงจะกำหนดเนมสเปซให้กับทุกคลาส ("instui".instui-button); any ค่าที่ถือว่าเป็นเท็จ (null, undefined, "", or omitting the option) จะทำให้คำนำหน้าเลิกใช้ทั้งหมด (.button), ดังนั้นคุณจึงสามารถเขียน class="heading -h1". ไตล์ชีตที่มาพร้อมแพ็กเกจนี้ถูกสร้างด้วย "instui".


theme?

optional theme?: ComponentTheme

เบต้า

ธีมเป้าหมายสำหรับ CSS ที่ถูกสร้าง ค่าเริ่มต้นคือ "rebrand" เมื่อไม่ได้ระบุ.