bpk-component-radio-css

3.1.9 • Public • Published

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

Property PropType Required Default Value
name string true -
label node true -
ariaLabel string false props.label
disabled bool false false
white bool false false
valid bool false null

Theme Props

  • radioCheckedColor

Progressive enhancement

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

/bpk-component-radio-css/

    Package Sidebar

    Install

    npm i bpk-component-radio-css

    Weekly Downloads

    1

    Version

    3.1.9

    License

    Apache-2.0

    Unpacked Size

    18.3 kB

    Total Files

    11

    Last publish

    Collaborators

    • k0nserv
    • shaundon
    • georgegillams
    • tiagohngl
    • ojcurt