Karagöz

Tab<T>

type Tab<T> = object;

Generic tab definition.

Type Parameters

T = undefined

Type declaration

context?

optional context: T;

Additional context information.

id

id: string;

Unique tab ID

label

label: string;

Label to be shown in the tab list.

order

order: number;

Order of the tab. When a tab is opened or focused it gets a new order = [current max order] + 1.

Defined in

packages/sandbox/src/types/Tabs.ts:6