Skip to content

pantoken-root / formats/components/src / ComponentOptions

Interface: ComponentOptions ​

Beta

خيارات مشتركة لكل منشئ.

Extended by ​

Properties ​

prefix? ​

optional prefix?: string | null

Beta

بادئة الصنف. سلسلة صحيحة تُنشئ مساحة أسماء لكل صنف ("instui" → .instui-button); أي قيمة زائفة (null, undefined, ""، أو إغفال الخيار) تُزيل البادئة تمامًا (.button)، لذا يمكنك تأليف class="heading -h1". أوراق الأنماط المرفقة بهذه الحزمة مبنية باستخدام "instui".


theme? ​

optional theme?: ComponentTheme

Beta

السمة المستهدفة لـ CSS المصدَّر. القيمة الافتراضية هي "rebrand" عند إغفالها.