diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-09-19 15:47:08 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-09-19 19:16:58 +0200 |
| commit | 03331c44276ec56e9f235e4d5ee75030455a753f (patch) | |
| tree | b9248a7db3090e02bf38fe573f2ea973ed8a1561 /src/components/atoms/headings/heading.tsx | |
| parent | 2faf2e34331703b3bdea3eb487cb8799c8d65377 (diff) | |
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
Diffstat (limited to 'src/components/atoms/headings/heading.tsx')
| -rw-r--r-- | src/components/atoms/headings/heading.tsx | 5 |
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, |
