aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/animations/full_rotation.tsx
blob: 0b36fd21f9fba53127aa12d2225511a01a1beeee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { keyframes, styled } from '../../style/theme';

const rotatingKeyframes = keyframes`
from {
  transform: rotate(0deg);
}

to {
  transform: rotate(360deg);
}
`;

export const FullRotation = styled.div`
    animation: ${rotatingKeyframes} 2s linear infinite;
`;