Socket
Socket
Sign inDemoInstall

@govuk-react/multi-choice

Package Overview
Dependencies
6
Maintainers
5
Versions
38
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @govuk-react/multi-choice

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


Version published
Weekly downloads
3K
decreased by-10.72%
Maintainers
5
Install size
245 kB
Created
Weekly downloads
 

Readme

Source

MultiChoice

Import

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

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

  • https://govuk-react.github.io/govuk-react/?path=/docs/multi-choice
  • https://design-system.service.gov.uk/components/radios/

Properties

PropRequiredDefaultTypeDescription
hintundefinedstring
labeltrueReactNode
marginMargin | Margin[]
mbstring | number
meta{}{ error?: string | string[]; touched?: boolean; }
paddingPadding | Padding[]

FAQs

Last updated on 01 Oct 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc