mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
5f4c19da35
Co-authored-by: Opender Singh <opender.singh@konghq.com>
10 lines
375 B
JavaScript
10 lines
375 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('../src', true, /\.stories\.tsx?$/), module);
|