Skip to content

Commit c317fe8

Browse files
committed
chore: order of stories
1 parent 5d76279 commit c317fe8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.storybook/preview.ts

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@ import {withTheme, withLang} from './decorators';
22

33
export const decorators = [withTheme, withLang];
44

5+
export const parameters = {
6+
options: {
7+
storySort: {
8+
order: ['Docs', 'Array', 'Boolean', 'Other', 'Number', 'Object', 'String', '*'],
9+
},
10+
},
11+
};
12+
513
export const globalTypes = {
614
theme: {
715
defaultValue: 'light',

0 commit comments

Comments
 (0)