Text component used for page titles and other headers
Codeimport { Heading } from "@medusajs/ui"
import { Heading } from "@medusajs/ui"
Code<Heading>A Title</Heading>
<Heading>A Title</Heading>
This component is based on the heading element (h1, h2, etc...) depeneding on the specified level and supports all of its props
h1
h2
level
"h1"
"h2"
"h3"