Add stories sorting

This commit is contained in:
Vitaly Rtishchev
2025-06-25 13:03:10 +04:00
parent a1af77b733
commit 3c786b5a33

View File

@ -10,6 +10,9 @@ export const parameters = {
layout: 'fullscreen',
options: {
showPanel: false,
storySort: (a, b) => {
return a.title.localeCompare(b.title, undefined, { numeric: true });
},
},
};