Commit 72f9c8d0 authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[0.15.4] fix js import default

parent b3995a4c
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
import Tooltip from 'react-tooltip'; import Tooltip from 'react-tooltip';
console.log('Tooltip', Tooltip);
if (typeof window !== 'undefined') { if (typeof window !== 'undefined') {
window.ReactTooltip = Tooltip; window.ReactTooltip = Tooltip;
} }
......
"use strict"; "use strict";
import * as ReactEcharts from "echarts-for-react"; import eChartsClass from "echarts-for-react";
let eChartsClass = ReactEcharts.default;
export { eChartsClass }; export { eChartsClass };
/** /**
......
'use strict'; 'use strict';
import * as hljs from 'highlightjs/highlight.pack.min.js'; import hljs from 'highlightjs/highlight.pack.min.js';
export function _highlightBlock(el) { export function _highlightBlock(el) {
hljs.highlightBlock(el); hljs.highlightBlock(el);
......
'use strict'; 'use strict';
import * as ReactBootstrap from 'react-bootstrap'; import ReactBootstrap from 'react-bootstrap';
if (typeof window !== 'undefined') { if (typeof window !== 'undefined') {
window.ReactBootstrap = ReactBootstrap; window.ReactBootstrap = ReactBootstrap;
} }
import * as Alert from 'react-bootstrap/Alert'; import Alert from 'react-bootstrap/Alert';
import * as OverlayTrigger from 'react-bootstrap/OverlayTrigger'; import OverlayTrigger from 'react-bootstrap/OverlayTrigger';
import * as Popover from 'react-bootstrap/Popover'; import Popover from 'react-bootstrap/Popover';
let Content = Popover.Content; let Content = Popover.Content;
let Title = Popover.Title; let Title = Popover.Title;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment