@laura.broder/learnstorybook-design-system-template
Version:
Storybook design systems tutorial
24 lines (20 loc) • 408 B
JavaScript
import React from 'react';
import { GlobalStyle } from '../src/shared/global';
export const decorators = [
(Story) => (
<>
<GlobalStyle />
<Story />
</>
),
];
export const parameters = {
actions: { argTypesRegex: '^on[A-Z].*' },
// Storybook a11y addon configuration
a11y: {
// the target DOM element
element: '#root',
// sets the execution mode for the addon
manual: false,
},
};