import * as React from "react" import styled, { injectGlobal } from "styled-components" import getConfig from "jamplay-common/remote-config" const { publicRuntimeConfig } = getConfig() // Animate style // original from animate.css // https://github.com/daneden/animate.css // tslint:disable-next-line:no-unused-expression injectGlobal` .animated { animation-duration: 1s; animation-fill-mode: both; } .animated.infinite { animation-iteration-count: infinite; } @keyframes pulse { from { transform: scale3d(1, 1, 1); } 50% { transform: scale3d(1.05, 1.05, 1.05); } to { transform: scale3d(1, 1, 1); } } .pulse { animation-name: pulse; } ` const CenterImage = styled.img` width: 120px; animation-iteration-count: infinite; ` // const LoopAnimated = styled.div` // animation-iteration-count: infinite; // ` export const LoadingIcon = () => (