UNPKG

@coin-voyage/paykit

Version:

Seamless crypto payments. Onboard users from any chain, any coin into your app with one click.

19 lines (18 loc) 498 B
import { motion } from "framer-motion"; import { keyframes } from "styled-components"; import styled from "../../../styles/styled"; const Spin = keyframes ` 0%{ transform: rotate(0deg); } 100%{ transform: rotate(360deg); } `; export const SpinnerContainer = styled(motion.div) ` display: flex; align-items: center; justify-content: center; animation: ${Spin} 1s linear infinite; svg { display: block; position: relative; animation: ${Spin} 1s ease-in-out infinite; } `;