Replies: 1 comment 3 replies
-
I don't think disabling is not possible currently but you can change the order Can you try something like this in the meta object parameters: {
options: {
storySort: {
order: ['Default', 'Disabled', "Outline", /* ... etc ... */ ],
},
},
}, https://storybook.js.org/docs/writing-stories/naming-components-and-hierarchy#sorting-stories You can also try some of the other stuff in the docs but some of this code is coming from storybook core and other parts are rn specific so its not always clear to me which things will or won't work 😅 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I disable the sorting of these stories, I want to sort follow my order which I define in *.stories.tsx file
The default will be the first, and the Class Name will be the last
Beta Was this translation helpful? Give feedback.
All reactions