Skip to content

Latest commit

 

History

History

bpk-component-checkbox

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

bpk-component-checkbox

Backpack checkbox component.

Installation

Check the main Readme for a complete installation guide.

Usage

import BpkCheckbox from '@skyscanner/backpack-web/bpk-component-checkbox';

export default () => (
  <BpkCheckbox
    name="prefer-directs"
    onChange={() => console.log('prefer directs changed!')}
    label="Prefer directs"
    checked
  />
);

Props

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