seperating components into multiple files

This commit is contained in:
Amine Ben hammou
2018-02-19 14:02:01 +01:00
committed by pavel-mailpoet
parent ddbabcfcb5
commit 8603e2a96a
5 changed files with 287 additions and 266 deletions

View File

@@ -0,0 +1,15 @@
import React from 'react';
class Loading extends React.Component {
componentWillMount() {
MailPoet.Modal.loading(true);
}
componentWillUnmount() {
MailPoet.Modal.loading(false);
}
render() {
return null;
}
}
export default Loading;