mirror of
https://github.com/pheralb/svgl.git
synced 2024-11-10 14:46:54 +08:00
13 lines
219 B
JavaScript
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;
|