mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +00:00
10 lines
380 B
JavaScript
10 lines
380 B
JavaScript
import { configure, addDecorator } from '@storybook/react';
|
|
import { withContexts } from '@storybook/addon-contexts/react';
|
|
import { contexts } from './configs/contexts';
|
|
import { withInfo } from '@storybook/addon-info';
|
|
|
|
addDecorator(withContexts(contexts));
|
|
addDecorator(withInfo({ inline: true }));
|
|
|
|
configure(require.context('../components', true, /\.stories\.js$/), module);
|