value
Description
Optional. Sets the selected tabUsage
value?: string | number;
Example
const tabs = [
{ id: 0, label: "Info", icon: "wxi-alert" },
{ id: 1, label: "About" },
{ id: 2, label: "Contact" },
{ id: 3, label: "", icon: "wxi-check" }
];
<Tabs options={tabs} value={1} />
Related article: Setting the value
Related sample: Tabs