import React from 'react' import PropTypes from 'prop-types' import Isvg from 'react-inlinesvg' import { Transition, animated } from 'react-spring' import cloudLightningIcon from 'icons/cloud_lightning.svg' import { FormattedMessage } from 'react-intl' import messages from './messages' import styles from './LoadingBolt.scss' class LoadingBolt extends React.PureComponent { render() { const { theme, visible = true } = this.props return (
{visible && (springStyles => (

))}
) } } LoadingBolt.propTypes = { visible: PropTypes.bool, theme: PropTypes.string.isRequired } export default LoadingBolt