mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 21:01:08 +08:00
Merge pull request #5900 from 44px/patch-4
Fix typo in example, use MyPanel component
This commit is contained in:
commit
af2e91098c
@ -102,7 +102,7 @@ class MyPanel extends React.Component {
|
||||
}
|
||||
|
||||
addons.register(ADDON_ID, api => {
|
||||
const render = ({ active }) => <Panel api={api} active={active} />;
|
||||
const render = ({ active }) => <MyPanel api={api} active={active} />;
|
||||
const title = 'My Addon';
|
||||
|
||||
addons.add(PANEL_ID, {
|
||||
|
Loading…
x
Reference in New Issue
Block a user