Skip to content

Commit

Permalink
Order options to start with stories files
Browse files Browse the repository at this point in the history
Signed-off-by: Musale Martin <[email protected]>
  • Loading branch information
musale committed Aug 3, 2023
1 parent 6ced69c commit 5a9e03b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,12 @@ addParameters({
inlineStories: false,
page: noArgsDocsPage
},
version: versionInfo
version: versionInfo,
options: {
storySort: {
order: ['stories']
}
}
});

const req = require.context('../stories', true, /\.(js|mdx)$/);
Expand Down

0 comments on commit 5a9e03b

Please sign in to comment.