2.5.1 • Published 5 years ago

@tdcerhverv/heading v2.5.1

Weekly downloads
268
License
Apache-2.0
Repository
bitbucket
Last release
5 years ago

Heading component

Includes styling for all standard headings h1 through h5, as well as styles that match the size of their respective heading.

State

Usage

Import like this:

import { H1 } from '@tdcerhverv/heading';

Use like this:

<H1>Everything is awesome!</H1>

Supported headings: H1, H2, H3, H4 and H5.

Props

export interface THeading extends HTMLAttributes<HTMLHeadingElement> {
  children?: ReactNode;
  weight?: 'thin' | 'regular' | 'strong';
  align?: 'left' | 'center' | 'right' | 'justify';
  uppercase?: boolean;
  lightColored?: boolean;
  looksLikeHeading?: number;
  className?: string;
}

Tags

heading, headline

2.5.1

5 years ago

2.5.0

5 years ago

2.4.0

5 years ago

2.3.0

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.1.4

5 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago