FIX unnecessary large bundlesize (#7091)

FIX unnecessary large bundlesize
This commit is contained in:
Michael Shilman 2019-06-14 05:48:29 +08:00 committed by GitHub
commit 41f11b70cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ import { styled } from '@storybook/theming';
import { Link } from '@storybook/router';
import { SyntaxHighlighter } from '@storybook/components';
import { createElement } from 'react-syntax-highlighter';
import createElement from 'react-syntax-highlighter/create-element';
import { EVENT_ID } from './events';
const StyledStoryLink = styled(Link)(({ theme }) => ({