From 1cf2e331c9a3bf4a871a55d5bad5bd0d2c43cd94 Mon Sep 17 00:00:00 2001 From: Mor Tal Date: Thu, 21 Mar 2019 00:20:59 +0200 Subject: [PATCH] Added missing isToolshown documentation - MIGRATION.md - Options Parameters documentation --- MIGRATION.md | 4 ++++ docs/src/pages/configurations/options-parameter/index.md | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/MIGRATION.md b/MIGRATION.md index 39ee3b9312c..fd6176d8af7 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -196,6 +196,7 @@ addParameters({ }), isFullscreen: false, panelPosition: 'right', + isToolshown: true, }, }); ``` @@ -211,9 +212,12 @@ Here is the mapping from old options to new: | showAddonPanel | showPanel | | addonPanelInRight | panelPosition | | showSearchBox | | +| | isToolshown | Storybook v5 removes the search dialog box in favor of a quick search in the navigation view, so `showSearchBox` has been removed. +Storybook v5 introduce a new tool bar above the story view and you can show\hide it with the new `isToolshown` option. + ## Individual story decorators The behavior of adding decorators to a kind has changed in SB5 ([#5781](https://github.com/storybooks/storybook/issues/5781)). diff --git a/docs/src/pages/configurations/options-parameter/index.md b/docs/src/pages/configurations/options-parameter/index.md index 5ba802c18c3..b5c1c05f7b3 100644 --- a/docs/src/pages/configurations/options-parameter/index.md +++ b/docs/src/pages/configurations/options-parameter/index.md @@ -70,6 +70,11 @@ addParameters({ * @type {Boolean} */ enableShortcuts: true, + /** + * show/hide tool bar + * @type {Boolean} + */ + isToolshown: true, /** * theme storybook, see link below */