Skip to content

Latest commit

 

History

History

bpk-component-ticket

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

bpk-component-ticket

Backpack ticket component.

👻 This component has been deprecated, and usages should be replaced with bpk-component-card

Installation

Check the main Readme for a complete installation guide.

Usage

import BpkTicket from '@skyscanner/backpack-web/bpk-component-ticket';

export default () => (
  <BpkTicket stub="Lorem ipsum dolor sit amet.">
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean
    commodo ligula eget dolor. Aenean massa. Cum sociis natoque
    penatibus et magnis dis parturient montes, nascetur ridiculus mus.
  </BpkTicket>
);

Props

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