Seed: dashboard template (24 files)

This commit is contained in:
2026-07-23 22:10:44 +00:00
parent a99c871dac
commit 1d49bab8d5
+19
View File
@@ -0,0 +1,19 @@
import * as React from "react";
import { cn } from "@/lib/utils";
export const Input = React.forwardRef<HTMLInputElement, React.InputHTMLAttributes<HTMLInputElement>>(
({ className, type = "text", ...props }, ref) => (
<input
ref={ref}
type={type}
className={cn(
"flex h-10 w-full rounded-md border border-slate-300 bg-white px-3 py-2 text-sm placeholder:text-slate-400 focus:outline-none focus:ring-2 focus:ring-indigo-500 disabled:opacity-50",
className
)}
{...props}
/>
)
);
Input.displayName = "Input";
export default Input;