Last modified: 4/Oct/2024
Tab Panel
Tab Panels are the children elements of the Tab component.
#Usage
import { Tabs } from '@kinsta/stratus'
const MyComponent = () => (
<Tabs>
<Tabs.Panel tabLabel="R2D2">Beep-Boop</Tabs.Panel>
<Tabs.Panel tabLabel="C3-PO">I am C-3PO, Human-Cyborg Relations.</Tabs.Panel>
</Tabs>
)
#Tabs Props
boolean
#active
boolean
#Types
TabPanelInterface
: props of theTab.Panel
component extended byHTMLAttributes<HTMLDivElement>
Read more about types here