Skip to content

Profectus / features/tabs/tabFamily / createTabFamily

Function: createTabFamily() ​

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

Lazily creates a tab family with the given options.

Type Parameters ​

• T extends TabFamilyOptions

Parameters ​

tabs ​

Record<string, () => TabButtonOptions>

optionsFunc? ​

() => T

Tab family options.

Returns ​

any

Defined in ​

profectus/src/features/tabs/tabFamily.tsx:78