Skip to content

Heading

TODO: Interactive example does not work for some reason

Interfaces

HeadingProps

Defined in: heading.types.ts:7

The Heading component properties.

Extends

  • unknown<JSX.HTMLAttributes<HTMLHeadingElement>>.unknown

Properties

level

level: 1 | 2 | 3 | 4 | 5 | 6

Defined in: heading.types.ts:13

The level of the heading.

Variables

Heading

const Heading: Component<HeadingProps>

Defined in: heading.component.tsx:10

A component that represents a heading. Supports heading levels 1-6.

Param

HeadingProps

Returns

The heading component.