Initial commit
This commit is contained in:
14
src_frontend_orig/components/PreviewCard.jsx
Normal file
14
src_frontend_orig/components/PreviewCard.jsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import { motion } from 'framer-motion';
|
||||
|
||||
export function PreviewCard({ children }) {
|
||||
return (
|
||||
<motion.div
|
||||
className="preview-card"
|
||||
initial={{ opacity: 0, scale: 0.98 }}
|
||||
animate={{ opacity: 1, scale: 1 }}
|
||||
transition={{ duration: 0.25 }}
|
||||
>
|
||||
{children}
|
||||
</motion.div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user