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

11 lines
183 B
Plaintext

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