Back to Component Browser

Radio

Quartz

lib/quartz/components/Radio/index.ts

Preview
Choose an option

Import

import { Radio } from '@/lib/quartz';

Props (6)

NameTypeRequiredDefaultDescription
descriptionstringoptional—The description text for the `<Radio>`. Accessibly tied to the underlying `<input type="radio">`.
childrenReactNodeoptional—Additional content below the Radio
childrenMarginTopUnitsenumoptional0The margin between the `children` and the description or label above it....
_quartzInternal_childrenTestIdstringoptional—@internal Used for testing within Quartz.
refRef<HTMLInputElement>optional—Allows getting a ref to the component instance....
keyKeyoptional——

Usage

Not used in any projects yet.