2.1.2 • Published 3 years ago

bpk-component-price v2.1.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 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

3 years ago

2.1.1

3 years ago

2.0.5

3 years ago

2.0.6

3 years ago

2.1.0

3 years ago

2.0.4

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.1

3 years ago