From 03331c44276ec56e9f235e4d5ee75030455a753f Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Tue, 19 Sep 2023 15:47:08 +0200
Subject: build(deps): bump all dependencies

* MDX type has changed so some components props had to be updated
* Since Storybook now supports TS, I renamed the main/preview files
---
 src/components/atoms/headings/heading.tsx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'src/components/atoms/headings/heading.tsx')

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,
-- 
cgit v1.2.3

