Skip to content

Commit

Permalink
made headingLevel prop optional in props type
Browse files Browse the repository at this point in the history
  • Loading branch information
recondesigns committed Mar 4, 2024
1 parent f7ccb1e commit eebd79b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Heading/Heading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export type HeadingPropsType = {
* Sets the heading level (h1, h2, etc)
* @default 2
*/
headingLevel: HeadingLevelType;
headingLevel?: HeadingLevelType;
};

function Heading({
Expand Down

0 comments on commit eebd79b

Please sign in to comment.