Added missing isToolshown documentation

- MIGRATION.md
- Options Parameters documentation
This commit is contained in:
Mor Tal 2019-03-21 00:20:59 +02:00
parent c99288d275
commit 1cf2e331c9
2 changed files with 9 additions and 0 deletions

View File

@ -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)).

View File

@ -70,6 +70,11 @@ addParameters({
* @type {Boolean}
*/
enableShortcuts: true,
/**
* show/hide tool bar
* @type {Boolean}
*/
isToolshown: true,
/**
* theme storybook, see link below
*/