The docs for the Heading component say:
The Heading component will render an html h1-6 tag without any default styling.
However, this component always renders a h1 unless the user passes as="h2" etc, which is not made explicit in the docs. We should:
- Change
Heading to default to h2 so users don't accidentally use multiple h1s
- Update the docs to be clear on how to choose a different heading level
The docs for the
Headingcomponent say:However, this component always renders a
h1unless the user passesas="h2"etc, which is not made explicit in the docs. We should:Headingto default toh2so users don't accidentally use multipleh1s