storybook/docs/snippets/common/storybook-preview-with-ordered-pages-and-wildcard.js.mdx
2021-05-06 21:05:56 +01:00

11 lines
195 B
Plaintext

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