@govuk-react/multi-choice
TypeScript icon, indicating that this package has built-in type declarations

0.10.6 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @govuk-react/multi-choice

Weekly Downloads

4,229

Version

0.10.6

License

MIT

Unpacked Size

16.8 kB

Total Files

12

Last publish

Collaborators

  • loque-
  • steve_sims
  • petelockey
  • penx
  • marksy