import * as React from 'react' import { css, keyframes } from 'styled-components' import styled from 'styled-components' import { get } from '@utils/theme' const Wrapper = styled.div` display: flex; align-items: center; justify-content: center; width: 100%; height: 100vh; ` const dash = keyframes` to { stroke-dashoffset: 1000; } ` const spinnerClass = (delay: number = 0) => css` stroke-dasharray: 100; animation: ${dash} 5s ${delay}s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite; ` const Lines = styled.path` stroke: ${get('colors.primary')}; stroke-width: 3px; ` const Path = styled.path` fill: ${get('colors.primary')}; ` const Spinner = ({ size = 60 }) => ( ) export const Loading = () => ( )