Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 579 Bytes

File metadata and controls

28 lines (20 loc) · 579 Bytes

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