Use ES6 style import

This commit is contained in:
Richard Lewis 2017-07-28 16:24:32 +01:00
parent 2e6fb1f956
commit 50ad80ad86

View file

@ -14,9 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
'use strict'; import React from 'react';
const React = require('react');
module.exports = React.createClass({ module.exports = React.createClass({
displayName: 'MessageSpinner', displayName: 'MessageSpinner',