diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-23 04:11:29 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-23 04:11:29 +0800 |
commit | daf447361f911acf19a0f0489039244695945218 (patch) | |
tree | e923abe89f2778d9ebad1663043b0f3c0ba9f137 /packages/instant/src/components/animations | |
parent | a766d78706cb45336263388360584390fe0e62f2 (diff) | |
download | dexon-0x-contracts-daf447361f911acf19a0f0489039244695945218.tar dexon-0x-contracts-daf447361f911acf19a0f0489039244695945218.tar.gz dexon-0x-contracts-daf447361f911acf19a0f0489039244695945218.tar.bz2 dexon-0x-contracts-daf447361f911acf19a0f0489039244695945218.tar.lz dexon-0x-contracts-daf447361f911acf19a0f0489039244695945218.tar.xz dexon-0x-contracts-daf447361f911acf19a0f0489039244695945218.tar.zst dexon-0x-contracts-daf447361f911acf19a0f0489039244695945218.zip |
WIP: spinner
Diffstat (limited to 'packages/instant/src/components/animations')
-rw-r--r-- | packages/instant/src/components/animations/full_rotation.tsx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/instant/src/components/animations/full_rotation.tsx b/packages/instant/src/components/animations/full_rotation.tsx new file mode 100644 index 000000000..0b36fd21f --- /dev/null +++ b/packages/instant/src/components/animations/full_rotation.tsx @@ -0,0 +1,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; +`; |