Backpack card component.
npm install bpk-component-card --save-dev
import React from 'react';
import BpkCard from 'bpk-component-card';
export default () => (
<BpkCard>
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.
</BpkCard>
);
Property | PropType | Required | Default Value |
---|---|---|---|
children | - | true | - |
className | string | false | null |
href | string | false | null |
padded | bool | false | true |