Socket
Socket
Sign inDemoInstall

@govuk-react/multi-choice

Package Overview
Dependencies
Maintainers
5
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

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
2.8K
decreased by-10.15%
Maintainers
5
Weekly downloads
 
Created
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

Package last updated on 13 May 2024

Did you know?

Socket

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc