Skip to content
On this page

Module: features/tabs/tabFamily

Components

Interfaces

Type Aliases

GenericTabButton

Ƭ GenericTabButton: Replace<TabButton<TabButtonOptions>, { visibility: ProcessedComputable<Visibility> }>

Defined in

profectus/src/features/tabs/tabFamily.ts:48


GenericTabFamily

Ƭ GenericTabFamily: Replace<TabFamily<TabFamilyOptions>, { visibility: ProcessedComputable<Visibility> }>

Defined in

profectus/src/features/tabs/tabFamily.ts:81


TabButton

Ƭ TabButton<T>: Replace<T & BaseTabButton, { classes: GetComputableType<T["classes"]> ; display: GetComputableType<T["display"]> ; glowColor: GetComputableType<T["glowColor"]> ; style: GetComputableType<T["style"]> ; tab: GetComputableType<T["tab"]> ; visibility: GetComputableTypeWithDefault<T["visibility"], Visible> }>

Type parameters

NameType
Textends TabButtonOptions

Defined in

profectus/src/features/tabs/tabFamily.ts:36


TabFamily

Ƭ TabFamily<T>: Replace<T & BaseTabFamily, { tabs: Record<string, GenericTabButton> ; visibility: GetComputableTypeWithDefault<T["visibility"], Visible> }>

Type parameters

NameType
Textends TabFamilyOptions

Defined in

profectus/src/features/tabs/tabFamily.ts:73

Variables

TabButtonType

Const TabButtonType: typeof TabButtonType

Defined in

profectus/src/features/tabs/tabFamily.ts:19


TabFamilyType

Const TabFamilyType: typeof TabFamilyType

Defined in

profectus/src/features/tabs/tabFamily.ts:20

Functions

createTabFamily

createTabFamily<T>(tabs, optionsFunc?): TabFamily<T>

Type parameters

NameType
Textends TabFamilyOptions

Parameters

NameType
tabsRecord<string, () => TabButtonOptions>
optionsFunc?OptionsFunc<T, BaseTabFamily, GenericTabFamily>

Returns

TabFamily<T>