import styled from 'styled-components'; import { StyledCard } from 'components/Form/Card'; import Heading from 'components/Form/Heading'; import colors from 'styles/colors'; const LoaderContainer = styled(StyledCard)` margin: 0 auto 1rem auto; width: 95vw; position: relative; transition: all 0.2s ease-in-out; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 2rem; height: 50vh; transition: all 0.3s ease-in-out; p.loadTimeInfo { text-align: center; margin: 0; color: ${colors.textColorSecondary}; opacity: 0.5; } &.flex { display: flex; } &.finished { height: 0; overflow: hidden; opacity: 0; margin: 0; padding: 0; svg { width: 0; } h4 { font-size: 0; } } &.hide { display: none; } `; const StyledSvg = styled.svg` width: 200px; margin: 0 auto; path { fill: ${colors.primary}; &:nth-child(2) { opacity: 0.8; } &:nth-child(3) { opacity: 0.5; } } `; const Loader = (props: { show: boolean }): JSX.Element => { return ( Crunching data...

It may take up-to a minute for all jobs to complete
You can view preliminary results as they come in below

); } export default Loader;