ArdoCodeGroup
On this page
Tabbed group of code blocks.
Labels come from the labels prop or fall back to
data-label / title / language props on children.
import { ArdoCodeGroup } from "ardo/ui"
<ArdoCodeGroup>{children}</ArdoCodeGroup>
Props
| Name | Type | Required | Description |
|---|---|---|---|
children | React.ReactNode | Yes | CodeBlock components to display as tabs |
labels | string | No | Comma-separated tab labels |
Props type: ArdoCodeGroupProps