@govuk-react/multi-choice

Styled container for a group of radio buttons (the children), also accepting label, meta and hint props.

Stats

StarsIssuesVersionUpdatedCreatedSize
@govuk-react/multi-choice
0.10.13 months ago4 years agoMinified + gzip package size for @govuk-react/multi-choice in KB

Readme

MultiChoice

Import

  import MultiChoice from '@govuk-react/multi-choice';

For wrapping a set of radio buttons with a label, optional hint and optional error.

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[]

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.