9
app/components/PageLoader/PageLoader.js
Executable file
9
app/components/PageLoader/PageLoader.js
Executable file
@@ -0,0 +1,9 @@
|
||||
import React from 'react';
|
||||
|
||||
import classes from './PageLoader.scss';
|
||||
|
||||
const PageLoader = () => (
|
||||
<div className={ classes.pageLoader }>Loading...</div>
|
||||
);
|
||||
|
||||
export default PageLoader;
|
9
app/components/PageLoader/PageLoader.scss
Executable file
9
app/components/PageLoader/PageLoader.scss
Executable file
@@ -0,0 +1,9 @@
|
||||
.pageLoader {
|
||||
background-color: cyan;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
z-index: 1000;
|
||||
}
|
3
app/components/PageLoader/index.js
Executable file
3
app/components/PageLoader/index.js
Executable file
@@ -0,0 +1,3 @@
|
||||
import PageLoader from './PageLoader';
|
||||
|
||||
export default PageLoader;
|
Reference in New Issue
Block a user