import MultiChoice from '@govuk-react/multi-choice';
For wrapping a set of radio buttons with a label, optional hint and optional error.
- https://govuk-react.github.io/govuk-react/?path=/docs/multi-choice
- https://design-system.service.gov.uk/components/radios/
Prop | Required | Default | Type | Description |
---|---|---|---|---|
hint |
undefined |
string | ||
label |
true | ReactNode | ||
margin |
Margin | Margin[] | |||
mb |
string | number | |||
meta |
{} |
{ error?: string | string[]; touched?: boolean; } | ||
padding |
Padding | Padding[] |