mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-28 05:10:17 +08:00
9 lines
226 B
JavaScript
9 lines
226 B
JavaScript
import { addParameters, addDecorator } from '@storybook/react';
|
|
|
|
addParameters({
|
|
options: {
|
|
storySort: (a, b) =>
|
|
a[1].kind === b[1].kind ? 0 : a[1].id.localeCompare(b[1].id, undefined, { numeric: true }),
|
|
},
|
|
});
|