2017-07-30 20:07:11 +03:00

24 lines
582 B
JavaScript

import { configure, setAddon } from '@storybook/react';
import { setOptions } from '@storybook/addon-options';
import infoAddon from '@storybook/addon-info';
setOptions({
name: 'CRA Kitchen Sink',
url: 'https://github.com/storybooks/storybook/tree/master/examples/cra-kitchen-sink',
goFullScreen: false,
showLeftPanel: true,
showDownPanel: true,
showSearchBox: false,
downPanelInRight: true,
sortStoriesByKind: false,
hierarchySeparator: /\/|\./,
});
setAddon(infoAddon);
function loadStories() {
require('../src/stories');
}
configure(loadStories, module);