merge 2.0.0-m3

This commit is contained in:
Eduard Heimbuch
2019-10-18 09:44:23 +02:00
12 changed files with 2695 additions and 67 deletions

View File

@@ -1,12 +1,8 @@
// @flow
import React from "react";
// TODO fix code splitting in production
// Storybook does not like the LightAsync import:
// import { LightAsync as ReactSyntaxHighlighter } from "react-syntax-highlighter";
// so we should use the default import for development and the LightAsync for production
import ReactSyntaxHighlighter from "react-syntax-highlighter";
import { arduinoLight } from "react-syntax-highlighter/dist/cjs/styles/hljs";
import {LightAsync as ReactSyntaxHighlighter} from "react-syntax-highlighter";
import {arduinoLight} from "react-syntax-highlighter/dist/cjs/styles/hljs";
type Props = {
language: string,