Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Latest commit

 

History

History
19 lines (14 loc) · 344 Bytes

subheading.md

File metadata and controls

19 lines (14 loc) · 344 Bytes

Common/Subheading

Represents a sub heading element.

<div>
    <Subheading>Heading</Subheading>
    <Subheading size={2}>Heading</Subheading>
</div>

Props

size={number}
A value from 1 to 6 indicating the type of header to use, e.g. h1, h2, h3, etc.

CSS

Adds the dp-subheading class to the element.