aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/headings/heading.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/atoms/headings/heading.tsx')
-rw-r--r--src/components/atoms/headings/heading.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/atoms/headings/heading.tsx b/src/components/atoms/headings/heading.tsx
index e385249..b1e4c5f 100644
--- a/src/components/atoms/headings/heading.tsx
+++ b/src/components/atoms/headings/heading.tsx
@@ -62,7 +62,10 @@ TitleTag.displayName = 'TitleTag';
*
* Render an HTML heading element or a paragraph with heading styles.
*/
-const Heading: ForwardRefRenderFunction<HTMLDivElement, HeadingProps> = (
+const Heading: ForwardRefRenderFunction<
+ HTMLHeadingElement | HTMLParagraphElement,
+ HeadingProps
+> = (
{
alignment = 'left',
children,