"use client"; import { type AnimationProps, motion } from "framer-motion"; const animationProps = { initial: { "--x": "100%", scale: 0.8 }, animate: { "--x": "-100%", scale: 1 }, whileTap: { scale: 0.95 }, transition: { repeat: Infinity, repeatType: "loop", repeatDelay: 1, type: "spring", stiffness: 20, damping: 15, mass: 2, scale: { type: "spring", stiffness: 200, damping: 5, mass: 0.5, }, }, } as AnimationProps; function ShinyButton({ text = "shiny-button" }) { return ( {text} ); } export default ShinyButton;