mirror of
https://github.com/pheralb/svgl.git
synced 2024-11-13 08:46:56 +08:00
13 lines
250 B
JavaScript
13 lines
250 B
JavaScript
import React from "react";
|
|
import { motion } from "framer-motion";
|
|
|
|
const Hover = ({ children }) => {
|
|
return (
|
|
<motion.div whileHover={{ scale: 1.020 }} whileTap={{ scale: 1 }}>
|
|
{children}
|
|
</motion.div>
|
|
);
|
|
};
|
|
|
|
export default Hover;
|