This package has been deprecated

Author message:

This component has been deprecated in favour of bpk-component-text which you can use to apply the same styles. Please move to using this package and using the styles as available here: https://backpack.github.io/components/text\?platform\=web

bpk-component-heading

5.0.1 • Public • Published

bpk-component-heading

Backpack heading component.

Installation

npm install bpk-component-heading --save-dev

Usage

import React from 'react';
import BpkHeading from 'bpk-component-heading';

export default () => (
  <BpkHeading level="h1">My Heading</BpkHeading>
);

Props

Property PropType Required Default Value
children - true -
level 'h1', 'h2', 'h3', 'h4', 'h5', 'h6' true -
className string false null
id string false null
bottomMargin bool false true

Readme

Keywords

none

Package Sidebar

Install

npm i bpk-component-heading

Weekly Downloads

377

Version

5.0.1

License

Apache-2.0

Unpacked Size

25 kB

Total Files

12

Last publish

Collaborators

  • mungodewar
  • anambl
  • skyscanner-koalasquad
  • gert-jan.vercauteren
  • frugoman
  • marianeumayer-skyscanner
  • ojcurt
  • mattface