mirror of
https://github.com/pheralb/svgl.git
synced 2025-02-06 06:58:04 +08:00
13 lines
249 B
JavaScript
13 lines
249 B
JavaScript
import React from "react";
|
|
import { motion } from "framer-motion";
|
|
|
|
const Tap = ({ children }) => {
|
|
return (
|
|
<motion.div whileHover={{ scale: 1.040 }} whileTap={{ scale: 0.98 }}>
|
|
{children}
|
|
</motion.div>
|
|
);
|
|
};
|
|
|
|
export default Tap;
|