ADD documentation about selectedPanel & goFullscreen option

This commit is contained in:
Norbert de Langen 2019-11-27 11:55:33 +01:00
parent 94b93ac116
commit 882b8ba7e4

View File

@ -34,7 +34,7 @@ addons.setConfig({
* display the top-level grouping as a "root" in the sidebar * display the top-level grouping as a "root" in the sidebar
* @type {Boolean} * @type {Boolean}
*/ */
showRoots: null, showRoots: true,
/** /**
* sidebar tree animations * sidebar tree animations
* @type {Boolean} * @type {Boolean}
@ -54,6 +54,16 @@ addons.setConfig({
* theme storybook, see link below * theme storybook, see link below
*/ */
theme: undefined, 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
}); });
``` ```