我在我的项目中使用 React 和 MaterialUI。我想知道如何导入这个
var RaisedButton = mui.RaisedButton,
ThemeManager = new mui.Styles.ThemeManager();
到 ES6
这就是我到目前为止的方式
import React from "react";
import { Link } from "react-router";
import ReactLogo from "elements/ReactLogo";
import mui from 'material-ui';
var RaisedButton = mui.RaisedButton,
ThemeManager = new mui.Styles.ThemeManager();
?