Sort Guides collection first and then the Getting started guide inside it, after that all alphabetical

https://storybook.js.org/docs/react/writing-stories/naming-components-and-hierarchy#sorting-stories
This commit is contained in:
Warren Buckley
2023-02-20 14:01:37 +00:00
parent 2968d825c9
commit e993436800

View File

@@ -94,6 +94,7 @@ export const parameters = {
storySort: {
method: 'alphabetical',
includeNames: true,
order: ['Guides', ['Getting started'], '*']
},
},
actions: { argTypesRegex: '^on.*' },