23 lines
415 B
JavaScript
23 lines
415 B
JavaScript
import React from "react";
|
|
|
|
import { GlobalStyle } from "../src/shared/global";
|
|
// Global decorator to apply the styles to all stories
|
|
export const decorators = [
|
|
(Story) => (
|
|
<>
|
|
<GlobalStyle />
|
|
<Story />
|
|
</>
|
|
),
|
|
];
|
|
|
|
export const parameters = {
|
|
actions: { argTypesRegex: "^on[A-Z].*" },
|
|
controls: {
|
|
matchers: {
|
|
color: /(background|color)$/i,
|
|
date: /Date$/,
|
|
},
|
|
},
|
|
};
|