Skip to main content

Tab

Components

The Tab component family provides the following components:

Tab

A component to render an individual Tab inside Tabs. You should not use this component directly, or pass any props to it apart from children. Instead, use them as direct children in the Tabs component.

You can import the Tab component from the tab component family in the @freesewing/react package:

Javascript
import { Tab } from "@freesewing/react/components/Tab"

Tabs

A component to render Tabs, typically used for dev examples. Note that children MUST be at least two Tab components.

You can import the Tabs component from the tab component family in the @freesewing/react package:

Javascript
import { Tabs } from "@freesewing/react/components/Tab"