Skip to content
Discussion options

You must be logged in to vote

To add animation:
1. In src/components/Window.js:
javascript<br>import { motion } from 'framer-motion';<br>const Window = ({ isMaximized }) => (<br> <motion.div animate={{ scale: isMaximized ? 1 : 0.8 }} transition={{ duration: 0.3 }}><br> {/* Window content */}<br> </motion.div><br>);<br>
2. Test with npm run dev.
3. Submit a pull request.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dailker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed question Further information is requested
2 participants