23 lines
		
	
	
		
			385 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			385 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import { ThemeProvider } from "styled-components";
 | |
| import theme from "../src/theme";
 | |
| 
 | |
| 
 | |
| export const decorators = [
 | |
|   (Story) => (
 | |
|     <ThemeProvider theme={theme}>
 | |
|       <Story />
 | |
|     </ThemeProvider>
 | |
|   ),
 | |
| ];
 | |
| 
 | |
| 
 | |
| 
 | |
| export const parameters = {
 | |
|   actions: { argTypesRegex: "^on[A-Z].*" },
 | |
|   controls: {
 | |
|     matchers: {
 | |
|       color: /(background|color)$/i,
 | |
|       date: /Date$/,
 | |
|     },
 | |
|   },
 | |
| } |