HTML style headings

HTMLHeadings

<Text h1>Heading 1</Text>
<Text h2>Heading 2</Text>
<Text h3>Heading 3</Text>
<Text h4>Heading 4</Text>

Headings Props

prop default type description
h1 none boolean font size 40 (optional)
h2 none boolean font size 34 (optional)
h3 none boolean font size 28 (optional)
h4 none boolean font size 22 (optional)
fontFamily none string font family name (optional)
style none object (style) add additional styling for Text (optional)