npm

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

0.10.7 • 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

6,234

Version

0.10.7

License

MIT

Unpacked Size

15.5 kB

Total Files

10

Last publish

Collaborators

  • loque-
  • steve_sims
  • petelockey
  • penx
  • marksy