Merge pull request #3761 from matrix-org/travis/babel7-wp-es6-export
Convert CommonJS exports to ES6 exports
This commit is contained in:
commit
59f608ffd6
159 changed files with 745 additions and 717 deletions
|
@ -4,7 +4,7 @@
|
|||
import React from 'react';
|
||||
import createReactClass from 'create-react-class';
|
||||
|
||||
module.exports = function(opts) {
|
||||
export default function(opts) {
|
||||
opts = opts || {};
|
||||
if (!opts.displayName) {
|
||||
opts.displayName = 'StubComponent';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue