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;