Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 567 Bytes

File metadata and controls

25 lines (17 loc) · 567 Bytes

bpk-component-badge

Backpack badge component.

Installation

Check the main Readme for a complete installation guide.

Usage

import BpkBadge, { BADGE_TYPES } from '@skyscanner/backpack-web/bpk-component-badge';

export default () => (
  <BpkBadge
    type={BADGE_TYPES.warning}
  >
    My Badge
  </BpkBadge>
);

Props

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