import{_ as e,c as a,o as t,N as r}from"./chunks/framework.0799945b.js";const u=JSON.parse('{"title":"Module: features/tabs/tab","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/features/tabs/tab.md","lastUpdated":null}'),o={name:"api/modules/features/tabs/tab.md"},s=r('
Ƭ GenericTab: Tab
<TabOptions
>
A type that matches any valid Tab object.
profectus/src/features/tabs/tab.ts:56
Ƭ Tab<T
>: Replace
<T
& BaseTab
, { classes
: GetComputableType
<T
["classes"
]> ; display
: GetComputableType
<T
["display"
]> ; style
: GetComputableType
<T
["style"
]> }>
An object representing a tab of content in a tabbed interface.
See
TabFamily
Name | Type |
---|---|
T | extends TabOptions |
profectus/src/features/tabs/tab.ts:46
• Const
TabType: typeof TabType
A symbol used to identify Tab features.
profectus/src/features/tabs/tab.ts:14
▸ createTab<T
>(optionsFunc
): Tab
<T
>
Lazily creates a tab with the given options.
Name | Type |
---|---|
T | extends TabOptions |
Name | Type | Description |
---|---|---|
optionsFunc | OptionsFunc <T , BaseTab , GenericTab > | Tab options. |
Tab
<T
>