13 lines
350 B
JavaScript
13 lines
350 B
JavaScript
|
export const parameters = {
|
||
|
actions: {argTypesRegex: "^on[A-Z].*"},
|
||
|
controls: {
|
||
|
matchers: {
|
||
|
color: /(background|color)$/i,
|
||
|
date: /Date$/,
|
||
|
},
|
||
|
},
|
||
|
options: {
|
||
|
storySort: (a, b) =>
|
||
|
a[1].kind === b[1].kind ? 0 : a[1].id.localeCompare(b[1].id, undefined, {numeric: true}),
|
||
|
},
|
||
|
}
|