@labrnth/heading
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

@labrnth/heading

A heading component.

Installation

yarn add @labrnth/heading

Usage

import Heading from `@labrnth/heading`;

<Heading />

Props

Prop Type Default Description
children React.ReactNode The contents of the heading.
component? h1, h2, h3, h4, h5, h6, div, label, span, header, p h1 The underlying component of the heading.
variant? h1, h2, h3, h4, h5, h6, div, label, span, header, p The style variant to apply to the heading.

Readme

Keywords

none

Package Sidebar

Install

npm i @labrnth/heading

Weekly Downloads

2

Version

0.1.6

License

ISC

Unpacked Size

23.7 kB

Total Files

6

Last publish

Collaborators

  • jordancollins