Tabs
Display tab content.
Usage
First of all, you need to import the Tabs component from the @tonightpass/kitchen package.
import { Tabs } from "@tonightpass/kitchen"Default
Disabled
With icons
Props
| Name | Type | Default | Required | Description | Accepted values |
|---|---|---|---|---|---|
title | string | - | ✅ | The title of the tab. | - |
value | string | - | ✅ | The value of the tab. | - |
icon | JSX.Element | - | - | The icon of the tab. | - |