storybook/docs/snippets/common/storybook-preview-with-ordered-pages-and-wildcard.js.mdx
2021-04-09 17:58:58 +07:00

12 lines
196 B
Plaintext

```js
// .storybook/preview.js
export const parameters = {
options: {
storySort: {
order: ['Intro', 'Pages', ['Home', 'Login', 'Admin'], 'Components', '*', 'WIP'],
},
},
};
```