svgl/animations/tap.js
2022-03-05 17:03:33 +00:00

13 lines
219 B
JavaScript

import React from "react";
import { motion } from "framer-motion";
const Tap = ({ children }) => {
return (
<motion.div whileTap={{ scale: 0.98 }}>
{children}
</motion.div>
);
};
export default Tap;