Skip to content

1681-engine / react / Tab

Interface: Tab<T> ​

Defined in: src/react/TabStrip.tsx:4

Type Parameters ​

Type Parameter
T extends string

Properties ​

color? ​

ts
optional color?: string;

Defined in: src/react/TabStrip.tsx:11

The tab's own colour for its label, kept on both states.


disabled? ​

ts
optional disabled?: boolean;

Defined in: src/react/TabStrip.tsx:9


id ​

ts
id: T;

Defined in: src/react/TabStrip.tsx:5


label ​

ts
label: ReactNode;

Defined in: src/react/TabStrip.tsx:6


title? ​

ts
optional title?: string;

Defined in: src/react/TabStrip.tsx:8

Why a disabled tab cannot be taken.

Released under the MIT License.