'use client'; import * as React from 'react'; import { type HTMLMotionProps, motion } from 'motion/react'; import { Slot, type WithAsChild, } from '@/components/animate-ui/primitives/animate/slot'; type ButtonProps = WithAsChild< HTMLMotionProps<'button'> & { hoverScale?: number; tapScale?: number; } >; function Button({ hoverScale = 1.05, tapScale = 0.95, asChild = false, ...props }: ButtonProps) { const Component = asChild ? Slot : motion.button; return ( ); } export { Button, type ButtonProps };