mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-16 05:03:11 +08:00
20 lines
507 B
JavaScript
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,
|
|
},
|
|
},
|
|
});
|