Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Update docs for addonAPI.addPanel() #50

Merged
merged 1 commit into from
May 17, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/docs/react-storybook/addons/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ addonAPI.addPanel('kadira/notes/panel', {
});
```

As you can see, you can set any React Component as the panel. Currently, it's just a text. But you can do anything you want.
As you can see, you can set any React Component as the panel. Currently, it's just a text. But you can do anything you want. You should specify the panel title. It could be a plain text or a function returning any React Component.

You also pass the channel and the Storybook API into that. See:

Expand Down