| import { cn } from "@/lib/utils"; | |
| export function Input({ className, ...props }: React.InputHTMLAttributes<HTMLInputElement>) { | |
| return ( | |
| <input | |
| className={cn( | |
| "flex h-9 w-full border border-border bg-background/40 px-3 py-1 font-courier text-sm transition-colors", | |
| "placeholder:text-muted-foreground", | |
| "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-foreground/30 focus-visible:border-foreground/25", | |
| "disabled:cursor-not-allowed disabled:opacity-50", | |
| className, | |
| )} | |
| {...props} | |
| /> | |
| ); | |
| } | |