Skip to content

Commit 340feea

Browse files
committed
fix: hide stotybook actions
1 parent c5608e7 commit 340feea

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.storybook/preview.ts

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,8 @@ import {withTheme, withLang} from './decorators';
33
export const decorators = [withTheme, withLang];
44

55
export const parameters = {
6-
actions: {argTypesRegex: '^on[A-Z].*'},
7-
controls: {
8-
matchers: {
9-
color: /(background|color)$/i,
10-
date: /Date$/,
11-
},
12-
},
6+
controls: {disable: true},
7+
actions: {disable: true},
138
};
149

1510
export const globalTypes = {
@@ -37,4 +32,4 @@ export const globalTypes = {
3732
],
3833
},
3934
},
40-
}
35+
};

0 commit comments

Comments
 (0)