@govuk-react-bjss-pttg/multi-choice
v0.10.7
Published
Styled container for a group of radio buttons (the children), also accepting label, meta and hint props.
Downloads
1
Keywords
Readme
MultiChoice
Import
import MultiChoice from '@govuk-react-bjss-pttg/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/
Properties
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[] |