Back to Component Browser
Radio
Quartzlib/quartz/components/Radio/index.ts
Preview
Import
import { Radio } from '@/lib/quartz';Props (6)
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| description | string | optional | — | The description text for the `<Radio>`. Accessibly tied to the underlying `<input type="radio">`. |
| children | ReactNode | optional | — | Additional content below the Radio |
| childrenMarginTopUnits | enum | optional | 0 | The margin between the `children` and the description or label above it.... |
| _quartzInternal_childrenTestId | string | optional | — | @internal Used for testing within Quartz. |
| ref | Ref<HTMLInputElement> | optional | — | Allows getting a ref to the component instance.... |
| key | Key | optional | — | — |
Usage
Not used in any projects yet.