bpk-component-ticket
v6.1.2
Published
Backpack ticket component.
Downloads
666
Keywords
Readme
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 |