1681-engine / react / TabStripProps
Interface: TabStripProps<T> ​
Defined in: src/react/TabStrip.tsx:14
Type Parameters ​
| Type Parameter |
|---|
T extends string |
Properties ​
className? ​
ts
optional className?: string;Defined in: src/react/TabStrip.tsx:22
label? ​
ts
optional label?: string;Defined in: src/react/TabStrip.tsx:24
What the strip chooses, for a screen reader.
onChange ​
ts
onChange: (id) => void;Defined in: src/react/TabStrip.tsx:17
Parameters ​
| Parameter | Type |
|---|---|
id | T |
Returns ​
void
onPointerDown? ​
ts
optional onPointerDown?: (e) => void;Defined in: src/react/TabStrip.tsx:26
Lets a strip beside a text field keep the keyboard open (e.preventDefault()).
Parameters ​
| Parameter | Type |
|---|---|
e | PointerEvent |
Returns ​
void
small? ​
ts
optional small?: boolean;Defined in: src/react/TabStrip.tsx:19
The short strip that sits over a field or in a row of controls.
tabs ​
ts
tabs: readonly Tab<T>[];Defined in: src/react/TabStrip.tsx:15
value ​
ts
value: T;Defined in: src/react/TabStrip.tsx:16
wrap? ​
ts
optional wrap?: boolean;Defined in: src/react/TabStrip.tsx:21
Breaks onto more rows instead of scrolling sideways (same as className={cx('wrap')}).