This commit is contained in:
Vula Builder
2026-07-25 11:17:57 +00:00
parent ecc04ed6a7
commit df75dab6bd
+20
View File
@@ -0,0 +1,20 @@
'use client'
import { cn } from "@/lib/utils"
import React from "react"
interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
// additional props can be added here
}
export default function Input({ className, ...props }: InputProps) {
return (
<input
className={cn(
"w-full px-3 py-2 text-[#33211f] bg-[#f5f2f2] border border-[#ddd5d4] rounded-md placeholder:text-[#33211f]/50 focus:outline-none focus:border-[#C0392B] focus:ring-1 focus:ring-[#C0392B] transition-colors disabled:opacity-50 disabled:cursor-not-allowed",
className
)}
{...props}
/>
)
}