Skip to content

Latest commit

 

History

History
 
 

bpk-component-card

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

bpk-component-card

Backpack card component.

Installation

npm install bpk-component-card --save-dev

Usage

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>
);

Props

Property PropType Required Default Value
children - true -
className string false null
href string false null
atomic bool false true
padded bool false true