UNPKG

@coin-voyage/paykit

Version:

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

7 lines (6 loc) 569 B
import { jsx as _jsx } from "react/jsx-runtime"; import { AnimatePresence } from "framer-motion"; import { Disclaimer, DisclaimerBackground } from "./styles"; export function ModalDisclaimer({ disclaimer, visible }) { return (_jsx(AnimatePresence, { initial: false, children: disclaimer && visible && (_jsx(DisclaimerBackground, { initial: { opacity: 0 }, animate: { opacity: 1 }, exit: { opacity: 0 }, transition: { delay: 0, duration: 0.2, ease: [0.25, 0.1, 0.25, 1.0] }, children: _jsx(Disclaimer, { children: _jsx("div", { children: disclaimer }) }) })) })); }