@daimo/pay
Version:
Seamless crypto payments. Onboard users from any chain, any coin into your app with one click.
51 lines (48 loc) • 969 B
JavaScript
import { motion } from 'framer-motion';
import styled from '../../styles/styled/index.js';
const TextContainer = styled(motion.div)`
top: 0;
bottom: 0;
left: 0;
display: inline-flex;
align-items: center;
justify-content: center;
white-space: nowrap;
`;
styled(motion.div)`
position: relative;
width: 24px;
height: 24px;
border-radius: 12px;
overflow: hidden;
svg {
display: block;
}
`;
styled(motion.div)`
pointer-events: none;
user-select: none;
position: relative;
width: 24px;
height: 24px;
margin-right: 8px;
`;
styled(motion.div)`
z-index: 1;
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
border-radius: 100%;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.02);
background: var(--ck-body-color-danger, red);
color: #fff;
svg {
display: block;
position: relative;
top: -1px;
}
`;
export { TextContainer };
//# sourceMappingURL=styles.js.map