mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
28 lines
606 B
Markdown
28 lines
606 B
Markdown
```js filename=".storybook/manager.js" renderer="common" language="js"
|
|
import { addons } from '@storybook/manager-api';
|
|
|
|
addons.setConfig({
|
|
navSize: 300,
|
|
bottomPanelHeight: 300,
|
|
rightPanelWidth: 300,
|
|
panelPosition: 'bottom',
|
|
enableShortcuts: true,
|
|
showToolbar: 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 },
|
|
},
|
|
});
|
|
```
|
|
|