"use client" import React from "react" import { motion, type MotionProps } from "motion/react" import { cn } from "@/lib/utils" const animationProps: MotionProps = { 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, }, }, } interface ShinyButtonProps extends Omit, keyof MotionProps>, MotionProps { children: React.ReactNode className?: string } export const ShinyButton = React.forwardRef< HTMLButtonElement, ShinyButtonProps >(({ children, className, ...props }, ref) => { return ( {children} ) }) ShinyButton.displayName = "ShinyButton"