Convert many imports to handle ES6 exports

Reliant upon https://github.com/matrix-org/matrix-react-sdk/pull/3761
This commit is contained in:
Travis Ralston 2019-12-19 18:19:56 -07:00
parent 38e75aaae0
commit d56f0f2a25
249 changed files with 263 additions and 265 deletions

View file

@ -21,7 +21,7 @@ import ReactDOM from 'react-dom';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import {Key} from "../../Keyboard";
import sdk from "../../index";
import * as sdk from "../../index";
import AccessibleButton from "../views/elements/AccessibleButton";
// Shamelessly ripped off Modal.js. There's probably a better way