add missing import to code example (#8429)

add missing import to code example
This commit is contained in:
Michael Shilman 2019-10-17 09:09:01 +08:00 committed by GitHub
commit e568f09554
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,6 +171,7 @@ import React from 'react';
import addons from '@storybook/addons';
import { useChannel } from '@storybook/api';
import { STORY_CHANGED } from '@storybook/core-events';
import { AddonPanel } from '@storybook/components';
const MyPanel = () => {
const emit = useChannel({