import React from 'react' import PropTypes from 'prop-types' import { Transition, animated } 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.Component { static propTypes = { isLoading: PropTypes.bool.isRequired, theme: PropTypes.object.isRequired } render() { const { theme, isLoading = true } = this.props return (
{isLoading && (springStyles => (

))}
) } } export default LoadingBolt