Skip to content

Commit bb994c2

Browse files
(Badge): remove a shade type that doesn't exist as a color variation
1 parent f71f5b7 commit bb994c2

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

src/scripts/Badge.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import classnames from 'classnames';
55
*
66
*/
77
export type BadgeProps = {
8-
type?: 'shade' | 'inverse';
8+
type?: 'inverse';
99
label?: string;
1010
} & HTMLAttributes<HTMLSpanElement>;
1111

stories/Badge.stories.tsx

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,6 @@ export const Default: ComponentStoryObj<typeof Badge> = {
2727
},
2828
};
2929

30-
/**
31-
*
32-
*/
33-
export const Shade: ComponentStoryObj<typeof Badge> = {
34-
args: {
35-
type: 'shade',
36-
children: 'Badge Label',
37-
},
38-
parameters: {
39-
docs: {
40-
storyDescription: 'Badge with type: shade',
41-
},
42-
},
43-
};
44-
4530
/**
4631
*
4732
*/

0 commit comments

Comments
 (0)