🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

bpk-component-radio

Package Overview
Dependencies
Maintainers
7
Versions
508
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bpk-component-radio

Backpack radio button component.

4.1.2
latest
Source
npm
Version published
Weekly downloads
24
-97.37%
Maintainers
7
Weekly downloads
 
Created
Source

bpk-component-radio

Backpack radio button component.

Installation

npm install bpk-component-radio --save-dev

Usage

import React from 'react';
import BpkRadio from 'bpk-component-radio';

export default () => (
  <BpkRadio
    name="return"
    label="Return"
    onChange={() => console.log('radio changed')}
    checked
  />
);

Props

PropertyPropTypeRequiredDefault Value
namestringtrue-
labelnodetrue-
ariaLabelstringfalseprops.label
disabledboolfalsefalse
whiteboolfalsefalse
validboolfalsenull

Theme Props

  • radioCheckedColor

Progressive enhancement

On Internet Explorer 11, radio buttons have the standard built-in appearance.

FAQs

Package last updated on 30 Sep 2022

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