Socket
Socket
Sign inDemoInstall

@paprika/radio

Package Overview
Dependencies
10
Maintainers
3
Versions
111
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paprika/radio

Radio component


Version published
Weekly downloads
942
increased by17.9%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

Radio

The <Radio> component displays a radio input and label text beside it. When clicked it selects the input and deselects any other radio input in its group.

Installation

> npm install --save @paprika/radio or > yarn add @paprika/radio

Usage

import Radio from "@paprika/radio";

<Radio.Group
  onChange={activeIndex => {
    // get values from the data using index
  }}
>
  <Radio>Radio 1</Radio>
  <Radio>Radio 2</Radio>
  <Radio>Radio 3</Radio>
  <Radio>Radio 4</Radio>
</Radio.Group>;

Props

Radio.Group

-a11yText -canDeselect -children -isDisabled -onChange -size

More detail about these props

Radio

-a11yText -canDeselect -children -isChecked -isDisabled -defaultIsChecked

More detail about these props

FAQs

Last updated on 19 Dec 2019

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc