import React, { FC } from 'react' import { StitchedCSS, styled, keyframes, Color } from '~/theme' const spin = keyframes({ from: { transform: 'rotate(0deg)' }, to: { transform: 'rotate(360deg)' }, }) const Svg = styled('svg', { animationName: `${spin}`, animationDuration: '0.8s', transform: 'rotate(-90deg)', animationTimingFunction: 'linear', animationIterationCount: 'infinite', }) export const Loader: FC<{ width?: number height?: number color?: Color css?: StitchedCSS }> = ({ color, width = 24, height = 24, css }) => { return ( ) }