mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
Merge pull request #11869 from storybookjs/reorder-essentials
This commit is contained in:
commit
41bb177f27
@ -4,11 +4,12 @@ title: 'Essential addons'
|
|||||||
|
|
||||||
A major strength of Storybook are [addons](/addons/) that extend Storybook’s UI and behavior. There are many third-party addons as well as “official” addons developed by the Storybook core team. Storybook ships by default with a set of “essential” addons that add to the initial user experience.
|
A major strength of Storybook are [addons](/addons/) that extend Storybook’s UI and behavior. There are many third-party addons as well as “official” addons developed by the Storybook core team. Storybook ships by default with a set of “essential” addons that add to the initial user experience.
|
||||||
|
|
||||||
- [Actions](./actions.md)
|
|
||||||
- [Backgrounds](./backgrounds.md)
|
|
||||||
- [Controls](./controls.md)
|
|
||||||
- [Docs](../writing-docs/introduction.md)
|
- [Docs](../writing-docs/introduction.md)
|
||||||
|
- [Controls](./controls.md)
|
||||||
|
- [Actions](./actions.md)
|
||||||
- [Viewport](./viewports.md)
|
- [Viewport](./viewports.md)
|
||||||
|
- [Backgrounds](./backgrounds.md)
|
||||||
|
- [Toolbars](./toolbars.md)
|
||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
|
|
||||||
@ -35,5 +36,7 @@ As an example, if the background addon wasn't necessary to your work, you would
|
|||||||
<!-- prettier-ignore-end -->
|
<!-- prettier-ignore-end -->
|
||||||
|
|
||||||
<div class="aside">
|
<div class="aside">
|
||||||
You can use the following keys for each individual addon: `actions`, `backgrounds`, `controls`, `docs`, `viewport`.
|
|
||||||
|
You can use the following keys for each individual addon: `actions`, `backgrounds`, `controls`, `docs`, `viewport`, `toolbars`.
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
21
docs/toc.js
21
docs/toc.js
@ -117,27 +117,26 @@ module.exports = {
|
|||||||
title: 'Introduction',
|
title: 'Introduction',
|
||||||
type: 'link',
|
type: 'link',
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
|
||||||
pathSegment: 'actions',
|
|
||||||
title: 'Actions',
|
|
||||||
type: 'link',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
pathSegment: 'backgrounds',
|
|
||||||
title: 'Backgrounds',
|
|
||||||
type: 'link',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
pathSegment: 'controls',
|
pathSegment: 'controls',
|
||||||
title: 'Controls',
|
title: 'Controls',
|
||||||
type: 'link',
|
type: 'link',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
pathSegment: 'actions',
|
||||||
|
title: 'Actions',
|
||||||
|
type: 'link',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
pathSegment: 'viewport',
|
pathSegment: 'viewport',
|
||||||
title: 'Viewport',
|
title: 'Viewport',
|
||||||
type: 'link',
|
type: 'link',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
pathSegment: 'backgrounds',
|
||||||
|
title: 'Backgrounds',
|
||||||
|
type: 'link',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
pathSegment: 'toolbars-and-globals',
|
pathSegment: 'toolbars-and-globals',
|
||||||
title: 'Toolbars & globals',
|
title: 'Toolbars & globals',
|
||||||
|
@ -75,8 +75,10 @@ OneItem.args = {
|
|||||||
|
|
||||||
Now that `children` is an arg, we can potentially reuse it in another story.
|
Now that `children` is an arg, we can potentially reuse it in another story.
|
||||||
|
|
||||||
<div class="aside"/>
|
<div class="aside">
|
||||||
|
|
||||||
As things stand (we hope to improve this soon) you cannot edit children in a control yet.
|
As things stand (we hope to improve this soon) you cannot edit children in a control yet.
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
## Creating a Template Component
|
## Creating a Template Component
|
||||||
|
Loading…
x
Reference in New Issue
Block a user