mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-20 05:02:37 +08:00
Added missing isToolshown documentation
- MIGRATION.md - Options Parameters documentation
This commit is contained in:
parent
c99288d275
commit
1cf2e331c9
@ -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)).
|
||||
|
@ -70,6 +70,11 @@ addParameters({
|
||||
* @type {Boolean}
|
||||
*/
|
||||
enableShortcuts: true,
|
||||
/**
|
||||
* show/hide tool bar
|
||||
* @type {Boolean}
|
||||
*/
|
||||
isToolshown: true,
|
||||
/**
|
||||
* theme storybook, see link below
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user