Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit 3d1451b

Browse files
committed
update setConfig
1 parent bdbf7f3 commit 3d1451b

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.storybook/manager.js

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
import {addons} from '@storybook/addons'
22
import theme from './theme'
33

4+
/**
5+
* Configure Storybook features and behavior.
6+
*
7+
* @see https://storybook.js.org/docs/react/configure/features-and-behavior
8+
*/
49
addons.setConfig({
5-
theme
10+
isFullscreen: false,
11+
showNav: true,
12+
showPanel: true,
13+
panelPosition: 'bottom',
14+
sidebarAnimations: true,
15+
enableShortcuts: true,
16+
isToolshown: true,
17+
theme: theme,
18+
selectedPanel: undefined,
19+
initialActive: 'sidebar',
20+
showRoots: false
621
})

0 commit comments

Comments
 (0)