aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ui/WebviewLoader/index.js
blob: 950312bbb234e0854e4f87a31fe715a9227c770c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import React from 'react';
import PropTypes from 'prop-types';

import FullscreenLoader from '../FullscreenLoader';

const WebviewLoader = ({ name }) => (
  <FullscreenLoader
    title={`Loading ${name}`}
  />
);

WebviewLoader.propTypes = {
  name: PropTypes.string.isRequired,
};

export default WebviewLoader;