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.

Installation

npm install bpk-component-ticket --save-dev

Usage

import React from 'react';
import BpkTicket from '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

Property PropType Required Default Value
children node true -
stub node true -
href string false null
padded bool false true
vertical bool false false
stubProps object false {}
stubClassName string false null
withNotches bool false true