Rename preview.js to preview.ts to use storybook v7 Preview
This commit is contained in:
parent
42a4a86e34
commit
3eb8eb836e
@ -1,11 +0,0 @@
|
||||
import 'index.css';
|
||||
|
||||
export const parameters = {
|
||||
actions: { argTypesRegex: '^on[A-Z].*' },
|
||||
controls: {
|
||||
matchers: {
|
||||
color: /(background|color)$/i,
|
||||
date: /Date$/,
|
||||
},
|
||||
},
|
||||
};
|
7
.storybook/preview.ts
Normal file
7
.storybook/preview.ts
Normal file
@ -0,0 +1,7 @@
|
||||
import 'index.css';
|
||||
|
||||
import { Preview } from '@storybook/react';
|
||||
|
||||
const preview: Preview = {};
|
||||
|
||||
export default preview;
|
Loading…
x
Reference in New Issue
Block a user