Update storybook-addon-toolbar-example.js.mdx

This commit is contained in:
acdzh 2021-01-05 16:16:39 +08:00 committed by GitHub
parent 9b90b97e01
commit d192f68b03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ import { Icons, IconButton } from '@storybook/components';
addons.register("my/toolbar", () => {
addons.add("my-toolbar-addon/toolbar", {
title: "Example Storybook toolbar"
title: "Example Storybook toolbar",
//👇 Sets the type of UI element in Storybook
type: types.TOOL,
//👇 Shows the Toolbar UI element if either the Canvas or Docs tab is active