mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 13:31:19 +08:00
ADD documentation about selectedPanel & goFullscreen option
This commit is contained in:
parent
94b93ac116
commit
882b8ba7e4
@ -34,7 +34,7 @@ addons.setConfig({
|
||||
* display the top-level grouping as a "root" in the sidebar
|
||||
* @type {Boolean}
|
||||
*/
|
||||
showRoots: null,
|
||||
showRoots: true,
|
||||
/**
|
||||
* sidebar tree animations
|
||||
* @type {Boolean}
|
||||
@ -54,6 +54,16 @@ addons.setConfig({
|
||||
* theme storybook, see link below
|
||||
*/
|
||||
theme: undefined,
|
||||
/**
|
||||
* show story component as full screen
|
||||
* @type {Boolean}
|
||||
*/
|
||||
goFullScreen: false,
|
||||
/**
|
||||
* id to select an addon panel
|
||||
* @type {String}
|
||||
*/
|
||||
selectedPanel: undefined, // The order of addons in the "Addon panel" is the same as you import them in 'addons.js'. The first panel will be opened by default as you run Storybook
|
||||
});
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user