2020-03-12 15:43:51 +08:00

20 lines
507 B
JavaScript

import { addons } from '@storybook/addons';
import { themes } from '@storybook/theming';
import addHeadWarning from './head-warning';
addHeadWarning('manager-head-not-loaded', 'Manager head not loaded');
addons.setConfig({
showRoots: true,
theme: themes.light, // { base: 'dark', brandTitle: 'Storybook!' },
previewTabs: {
canvas: null,
'storybook/docs/panel': null,
'storybookjs/notes/panel': { title: 'Annotations', hidden: true },
graphiql: {
hidden: true,
},
},
});