2.1.2 • Published 2 years ago

bpk-component-price v2.1.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

bpk-component-price

Backpack example component.

Installation

npm install bpk-component-price --save-dev

Usage

import React from 'react';
import BpkPrice, { SIZES, ALIGNS } from 'bpk-component-price';

export default () => (
  <BpkPrice
    size={SIZES.large}
    align={ALIGNS.left}
    subtitle="£209"
    title="£1,830"
    description="a night"
  />
);

Props

PropertyPropTypeRequiredDefault Value
titlestringtrue-
sizeoneOf(SIZES)falseSIZES.small
alignoneOf(ALIGNS)falseALIGNS.left
subtitlestringfalsenull
descriptionstringfalsenull
classNamestringfalsenull
2.1.2

2 years ago

2.1.1

2 years ago

2.0.5

2 years ago

2.0.6

2 years ago

2.1.0

2 years ago

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.1

2 years ago