Skip to content

Commit a29b281

Browse files
fix(Heading.stories): create explicit display of h2 heading label
1 parent c7bd82f commit a29b281

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/BaseStories/Heading.stories.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ const headingScale: Array<HeadingProps> = [
4747
size: "2xl",
4848
},
4949
{
50-
// No props as the default is `h2` with size `xl
50+
// Note that `h2` is the default render
51+
as: "h2",
52+
size: "xl",
5153
},
5254
{
5355
as: "h3",

0 commit comments

Comments
 (0)