npm.io
0.10.7 • Published 2 years ago

@govuk-react/multi-choice

Licence
MIT
Version
0.10.7
Deps
6
Size
15 kB
Vulns
0
Weekly
0

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