Module: features/tabs/tabFamily
Interfaces
Type aliases
GenericTabButton
Ƭ GenericTabButton: Replace
<TabButton
<TabButtonOptions
>, { visibility
: ProcessedComputable
<Visibility
> }>
Defined in
profectus/src/features/tabs/tabFamily.ts:55
GenericTabFamily
Ƭ GenericTabFamily: Replace
<TabFamily
<TabFamilyOptions
>, { visibility
: ProcessedComputable
<Visibility
> }>
Defined in
profectus/src/features/tabs/tabFamily.ts:86
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
Name | Type |
---|---|
T | extends TabButtonOptions |
Defined in
profectus/src/features/tabs/tabFamily.ts:43
TabFamily
Ƭ TabFamily<T
>: Replace
<T
& BaseTabFamily
, { tabs
: Record
<string
, GenericTabButton
> ; visibility
: GetComputableTypeWithDefault
<T
["visibility"
], Visible
> }>
Type parameters
Name | Type |
---|---|
T | extends TabFamilyOptions |
Defined in
profectus/src/features/tabs/tabFamily.ts:78
Variables
TabButtonType
• Const
TabButtonType: typeof TabButtonType
Defined in
profectus/src/features/tabs/tabFamily.ts:26
TabFamilyType
• Const
TabFamilyType: typeof TabFamilyType
Defined in
profectus/src/features/tabs/tabFamily.ts:27
Functions
createTabFamily
▸ createTabFamily<T
>(tabs
, optionsFunc?
): TabFamily
<T
>
Type parameters
Name | Type |
---|---|
T | extends TabFamilyOptions |
Parameters
Name | Type |
---|---|
tabs | Record <string , () => TabButtonOptions > |
optionsFunc? | OptionsFunc <T , TabFamily <T >, BaseTabFamily > |
Returns
TabFamily
<T
>