Skip to content

Commit 9120a09

Browse files
authored
fix: badgecount storycontrols clean up (#18857)
* fix: badgecount storycontols clean up * fix: storybook parameters cleanup
1 parent e9bdeb8 commit 9120a09

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/react/src/components/IconButton/IconButton.stories.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export default {
1616
parameters: {
1717
controls: {
1818
hideNoControlsWarning: true,
19+
exclude: ['badgeCount'],
1920
},
2021
docs: {
2122
page: mdx,
@@ -106,3 +107,8 @@ export const withBadgeIndicator = (args) => {
106107
withBadgeIndicator.args = {
107108
badgeCount: 4,
108109
};
110+
withBadgeIndicator.parameters = {
111+
controls: {
112+
exclude: ['size', 'kind'],
113+
},
114+
};

0 commit comments

Comments
 (0)