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" عند إغفالها.