Neoclassical Programming Multitude

    bpk-component-radio

    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.

    Keywords

    none

    Install

    npm i bpk-component-radio

    DownloadsWeekly Downloads

    1,492

    Version

    3.1.9

    License

    Apache-2.0

    Unpacked Size

    29.6 kB

    Total Files

    12

    Last publish

    Collaborators

    • frugoman
    • zgeor
    • anambl
    • marianeumayer-skyscanner
    • ojcurt
    • mattface