Skip to content

Commit 666a5f1

Browse files
marc-gavaniergarronej
authored andcommitted
fix: typo in badge story
1 parent e416ee1 commit 666a5f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stories/Badge.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const { meta, getStory } = getStoryFactory<BadgeProps>({
1616
options: (() => {
1717
const severities = ["success", "warning", "info", "error", "new"] as const;
1818

19-
assert<Equals<BadgeProps.Severity, BadgeProps.Severity>>();
19+
assert<Equals<typeof severities[number], BadgeProps.Severity>>();
2020

2121
return [null, ...severities];
2222
})(),
@@ -32,7 +32,7 @@ const { meta, getStory } = getStoryFactory<BadgeProps>({
3232
},
3333
label: {
3434
type: { name: "string", required: true },
35-
description: "Label to display on tne badge"
35+
description: "Label to display on the badge"
3636
}
3737
},
3838
disabledProps: ["lang"]

0 commit comments

Comments
 (0)