import * as React from "react" import { Slot } from "@radix-ui/react-slot" import { cva, type VariantProps } from "class-variance-authority" import { cn } from "@/lib/utils" // Note: I'm simulating the shadcn/ui structure but simplifying since I don't have the full setup // I'll just use standard props without cva for now to keep it simple and dependency-free (except clsx/tailwind-merge) interface ButtonProps extends React.ButtonHTMLAttributes { variant?: "default" | "outline" | "ghost" | "secondary"; size?: "default" | "sm" | "lg"; asChild?: boolean; } const Button = React.forwardRef( ({ className, variant = "default", size = "default", asChild = false, ...props }, ref) => { const Comp = asChild ? Slot : "button" return ( ) } ) Button.displayName = "Button" export { Button }