mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-02 05:03:44 +08:00
29 lines
559 B
Plaintext
29 lines
559 B
Plaintext
```js
|
|
// .storybook/manager.js
|
|
|
|
import { addons } from '@storybook/addons';
|
|
|
|
addons.setConfig({
|
|
isFullscreen: false,
|
|
showNav: true,
|
|
showPanel: true,
|
|
panelPosition: 'bottom',
|
|
enableShortcuts: true,
|
|
isToolshown: true,
|
|
theme: undefined,
|
|
selectedPanel: undefined,
|
|
initialActive: 'sidebar',
|
|
sidebar: {
|
|
showRoots: false,
|
|
collapsedRoots: ['other'],
|
|
},
|
|
toolbar: {
|
|
title: { hidden: false, },
|
|
zoom: { hidden: false, },
|
|
eject: { hidden: false, },
|
|
copy: { hidden: false, },
|
|
fullscreen: { hidden: false, },
|
|
},
|
|
});
|
|
```
|