mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-11 00:06:25 +08:00
add missing import to code example (#8429)
add missing import to code example
This commit is contained in:
commit
e568f09554
@ -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({
|
||||
|
Loading…
x
Reference in New Issue
Block a user