@govuk-react/header

0.8.0 • Public • Published

Header

Import

  import Header from '@govuk-react/header';

Usage

This component is DEPRECATED.

Please use the Heading component instead.

Properties

Prop Required Default Type Description
level 1 number Semantic heading level value between 1 and 6
size undefined enum(...Object.keys(HEADING_SIZES) | ...Object.keys(TYPOGRAPHY_SCALE)) Visual size level, accepts:
XLARGE, LARGE, MEDIUM, SMALL, XL, L, M, S
or a numeric size that fits in the GDS font scale list

Readme

Keywords

none

Package Sidebar

Install

npm i @govuk-react/header

Weekly Downloads

226

Version

0.8.0

License

MIT

Unpacked Size

49.1 kB

Total Files

22

Last publish

Collaborators

  • loque-
  • steve_sims
  • petelockey
  • penx
  • marksy