Skip to content
On this page

Interface: TabButtonOptions

features/tabs/tabFamily.TabButtonOptions

An object that configures a TabButton.

Properties

classes

Optional classes: Computable<Record<string, boolean>>

Dictionary of CSS classes to apply to this feature.

Defined in

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


display

display: Computable<CoercableComponent>

The label on this button.

Defined in

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


glowColor

Optional glowColor: Computable<string>

The color of the glow effect to display when this button is active.

Defined in

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


style

Optional style: Computable<StyleValue>

CSS to apply to this feature.

Defined in

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


tab

tab: Computable<CoercableComponent | GenericTab>

The tab to display when this button is clicked.

Defined in

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


visibility

Optional visibility: Computable<boolean | Visibility>

Whether this tab button should be visible.

Defined in

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