mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +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);
|