Tabs
Display tab content.
Usage
First of all, you need to import the Tabs
component from the kitchn
package.
import { Tabs } from "kitchn"
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. | - |