Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
Add default level to Heading
Browse files Browse the repository at this point in the history
This is necessary for the Heading component to render without errors
  • Loading branch information
kasperbirch1 committed Mar 20, 2023
1 parent 1c715b6 commit 06da067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stories/Library/heading/Heading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type HeadingProps = {

const Heading: React.FunctionComponent<HeadingProps> = ({
children,
level,
level = "h2",
className,
}) => {
const HeadingTag = level as keyof JSX.IntrinsicElements;
Expand Down

0 comments on commit 06da067

Please sign in to comment.