summaryrefslogtreecommitdiff
path: root/src/components/ui/inputfield.tsx
diff options
context:
space:
mode:
authorl3wdfut4pwr <l3wdfut4pwr@gmail.com>2026-03-17 14:06:58 +0200
committerl3wdfut4pwr <l3wdfut4pwr@gmail.com>2026-03-17 14:06:58 +0200
commit646c1168349643eb01db53b5e06bf986a16b86d7 (patch)
tree1a47fed631b06179383ed75d1bacc3c6b785a974 /src/components/ui/inputfield.tsx
parent9edce4dfa5f7c4efecd0f39fb4fd4a4c9863fe6e (diff)
simple registration prototype
Diffstat (limited to 'src/components/ui/inputfield.tsx')
-rw-r--r--src/components/ui/inputfield.tsx11
1 files changed, 4 insertions, 7 deletions
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>
);