import React from 'react' import PropTypes from 'prop-types' import { animated, Transition } from 'react-spring' import CloudLightning from 'components/Icon/CloudLightning' import { FormattedMessage } from 'react-intl' import messages from './messages' import styles from './LoadingBolt.scss' class LoadingBolt extends React.PureComponent { static propTypes = { isLoading: PropTypes.bool.isRequired, theme: PropTypes.object.isRequired } render() { const { theme, isLoading } = this.props return ( {show => show && (springStyles => (

)) }
) } } export default LoadingBolt