Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 711 Bytes

File metadata and controls

29 lines (20 loc) · 711 Bytes

bpk-component-radio

Backpack radio button component.

Installation

Check the main Readme for a complete installation guide.

Usage

import BpkRadio from '@skyscanner/backpack-web/bpk-component-radio';

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

Progressive enhancement

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

Props

Check out the full list of props on Skyscanner's design system documentation website.