mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 07:21:16 +08:00
Update storybook-addon-toolbar-example.js.mdx
This commit is contained in:
parent
9b90b97e01
commit
d192f68b03
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user