v2: prepare to move

This commit is contained in:
endiliey 2018-09-17 11:16:07 +08:00
parent dc7ef96849
commit 45736200b0
172 changed files with 0 additions and 0 deletions

11
v2/lib/theme/Loading.js Normal file
View file

@ -0,0 +1,11 @@
import React from 'react';
export default props => {
if (props.error) {
return <div align="center">Error 🔥🔥🔥</div>;
}
if (props.pastDelay) {
return <div align="center">Loading...</div>;
}
return null;
};