@coin-voyage/paykit
Version:
Seamless crypto payments. Onboard users from any chain, any coin into your app with one click.
7 lines • 469 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { motion } from "framer-motion";
const DynamicContainer = ({ id, children, }) => {
return (_jsx("div", { style: { position: "relative" }, children: _jsx(motion.div, { initial: { opacity: 0 }, animate: { opacity: 1 }, exit: { opacity: 0, position: "absolute", top: 0, left: 0 }, transition: { duration: 0.3 }, children: children }, id) }));
};
export default DynamicContainer;
//# sourceMappingURL=index.js.map