diff --git a/.storybook/preview.js b/.storybook/preview.js deleted file mode 100644 index 4ade0d5..0000000 --- a/.storybook/preview.js +++ /dev/null @@ -1,11 +0,0 @@ -import 'index.css'; - -export const parameters = { - actions: { argTypesRegex: '^on[A-Z].*' }, - controls: { - matchers: { - color: /(background|color)$/i, - date: /Date$/, - }, - }, -}; diff --git a/.storybook/preview.ts b/.storybook/preview.ts new file mode 100644 index 0000000..92f0e04 --- /dev/null +++ b/.storybook/preview.ts @@ -0,0 +1,7 @@ +import 'index.css'; + +import { Preview } from '@storybook/react'; + +const preview: Preview = {}; + +export default preview;