This commit is contained in:
Morten Olsen
2023-06-16 11:10:50 +02:00
commit bc0d501d98
163 changed files with 16458 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import React from 'react';
import type { Preview } from '@storybook/react';
import { UIProvider } from '../src/theme/provider';
const preview: Preview = {
decorators: [
(Story) => (
<UIProvider>
<Story />
</UIProvider>
),
],
parameters: {
actions: { argTypesRegex: '^on[A-Z].*' },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
},
};
export default preview;