Skip to content

Latest commit

 

History

History
 
 

bpk-component-badge

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

bpk-component-badge

Backpack badge component.

Installation

npm install bpk-component-badge --save-dev

Usage

import React from 'react';
import BpkBadge from 'bpk-component-badge';

export default () => (
  <BpkBadge>My Badge</BpkBadge>
);

Props

Property PropType Required Default Value
centered bool false null
docked 'left', 'right' false null
className string false null