From 646c1168349643eb01db53b5e06bf986a16b86d7 Mon Sep 17 00:00:00 2001
From: l3wdfut4pwr <l3wdfut4pwr@gmail.com>
Date: Tue, 17 Mar 2026 14:06:58 +0200
Subject: simple registration prototype

---
 src/components/ui/inputfield.tsx | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

(limited to 'src/components/ui/inputfield.tsx')

diff --git a/src/components/ui/inputfield.tsx b/src/components/ui/inputfield.tsx
index 40d5206..6b585a9 100644
--- a/src/components/ui/inputfield.tsx
+++ b/src/components/ui/inputfield.tsx
@@ -1,15 +1,12 @@
 import { Input } from '@/components/ui/input';
+import React from 'react';
 
-interface InputFIeldProps {
-    placeholder: string;
-}
-
-export function InputField({ placeholder }: InputFIeldProps) {
+export function InputField(props: React.InputHTMLAttributes<HTMLInputElement>) {
     return (
         <div className="rounded-[20px] border-violet border-[2px] h-[39px] flex items-center justify-between py-[10px] px-[20px]">
             <Input
-                placeholder={placeholder}
-                className="w-full flex text-white placeholder:text-light-violet text-sm min-w-[270px] h-[19px]"
+                {...props}
+                className={`w-full flex text-white placeholder:text-light-violet text-sm min-w-[270px] h-[19px] ${props.className ?? ''}`}
             />
         </div>
     );
-- 
cgit v1.3-3-g829e

