aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ui/WebviewLoader/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ui/WebviewLoader/index.js')
-rw-r--r--src/components/ui/WebviewLoader/index.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/components/ui/WebviewLoader/index.js b/src/components/ui/WebviewLoader/index.js
index eff4dc3d7..950312bbb 100644
--- a/src/components/ui/WebviewLoader/index.js
+++ b/src/components/ui/WebviewLoader/index.js
@@ -1,9 +1,16 @@
1import React from 'react'; 1import React from 'react';
2import PropTypes from 'prop-types';
2 3
3import FullscreenLoader from '../FullscreenLoader'; 4import FullscreenLoader from '../FullscreenLoader';
4 5
5export default ({ name }) => ( 6const WebviewLoader = ({ name }) => (
6 <FullscreenLoader 7 <FullscreenLoader
7 title={`Loading ${name}`} 8 title={`Loading ${name}`}
8 /> 9 />
9); 10);
11
12WebviewLoader.propTypes = {
13 name: PropTypes.string.isRequired,
14};
15
16export default WebviewLoader;