message: Fixed <Icon /> story
diff: @@ -3,17 +3,23 @@ import { useNotify } from 'hooks';
  import { icons } from './iconsList';
  import { modelType } from './Icon';
  -import { exportStory, copyToClipboard } from '../../../libs';
  import { Button, Space, Icon } from '../';
  +import { NotifyProvider, NotifyContainer } from '../../molecules';
  +import { exportStory, copyToClipboard } from '../../../libs';
  export default {
  title: exportStory('Icon', 'atoms'),
  component: Icon,
  };
  -export const Regular: React.FC = () => {
  +export const Regular = (): React.ReactNode => {
  + const IconList: React.FC = () => {
  const notify = useNotify();
  + const onCopied = (): void => {
  + notify.success({ title: 'Success', description: 'Copied to clipboard' });
  + };
  +
  return (
  <Space direction="vertical">
  <div className="storybook-header">Copy to clipboard on hover</div>
  @@ -24,8 +30,7 @@ export const Regular: React.FC = () => {
  const onCopy = (): void => {
  copyToClipboard(iconName);
  -
  - notify.success({ title: 'Success', description: 'Copied to clipboard' });
  + onCopied();
  };
  return (
  @@ -43,3 +48,11 @@ export const Regular: React.FC = () => {
  </Space>
  );
  };
  +
  + return (
  + <NotifyProvider>
  + <NotifyContainer />
  + <IconList />
  + </NotifyProvider>
  + );
  +};
  