storybook/docs/snippets/common/storybook-preview-with-ordered-pages.js.mdx
2020-08-07 17:05:17 +01:00

12 lines
184 B
Plaintext

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