Files
CoaxysPanel/src/components/ui/input.tsx
T
arsam 7090f195f6 Import source: src/components/ui/input
Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality.
2026-09-18 23:11:07 +03:30

19 lines
620 B
TypeScript

import * as React from "react";
import { cn } from "@/lib/utils";
export const Input = React.forwardRef<
HTMLInputElement,
React.InputHTMLAttributes<HTMLInputElement>
>(({ className, type, ...props }, ref) => (
<input
ref={ref}
type={type}
className={cn(
"focus-ring flex h-9 w-full rounded-md border border-border/80 bg-card/55 px-3 py-1 text-sm backdrop-blur-sm transition-colors placeholder:text-muted-foreground hover:border-border focus-visible:border-primary/50 disabled:cursor-not-allowed disabled:opacity-50",
className,
)}
{...props}
/>
));
Input.displayName = "Input";