0.7.7 • Published 3 years ago

@slice-and-dice/govuk-react-multi-choice v0.7.7

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

MultiChoice

Import

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

Usage

Simple

import Radio from '@govuk-react/radio';

<MultiChoice label="example">
   <Radio name="group1" inline>
     Yes
   </Radio>
   <Radio name="group1" inline>
     No
   </Radio>
</MultiChoice>

References:

Properties

PropRequiredDefaultTypeDescription
childrentrue | node
hintundefinedstring
labeltrue | node
meta{}shapeobject Object