UNPKG

@daimo/pay

Version:

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

33 lines (30 loc) 824 B
import { motion } from 'framer-motion'; import { css } from 'styled-components'; import styled from '../../styles/styled/index.js'; const LoadingContainer = styled(motion.div)` display: flex; align-items: center; justify-content: center; margin: 10px auto 16px; height: 120px; `; const AnimationContainer = styled(motion.div)` user-select: none; position: relative; --spinner-error-opacity: 0; &:before { content: ""; position: absolute; inset: 1px; opacity: 0; background: var(--ck-body-color-danger); ${(props) => props.$circle && css` inset: -5px; border-radius: 50%; background: none; box-shadow: inset 0 0 0 3.5px var(--ck-body-color-danger); `} } `; export { AnimationContainer, LoadingContainer }; //# sourceMappingURL=styles.js.map