Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 579 Bytes

File metadata and controls

24 lines (16 loc) · 579 Bytes

bpk-component-switch

Backpack switch component.

Installation

Check the main Readme for a complete installation guide.

Usage

import BpkSwitch from '@skyscanner/backpack-web/bpk-component-switch';

export default () => (
  <div>
    <BpkSwitch label="Switched on" checked />
    <BpkSwitch label="Turned off" />
  </div>
)

Props

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