Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 635 Bytes

File metadata and controls

26 lines (18 loc) · 635 Bytes

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.