summaryrefslogtreecommitdiff
path: root/src/components/ui/inputfield.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ui/inputfield.tsx')
-rw-r--r--src/components/ui/inputfield.tsx16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/components/ui/inputfield.tsx b/src/components/ui/inputfield.tsx
new file mode 100644
index 0000000..40d5206
--- /dev/null
+++ b/src/components/ui/inputfield.tsx
@@ -0,0 +1,16 @@
+import { Input } from '@/components/ui/input';
+
+interface InputFIeldProps {
+ placeholder: string;
+}
+
+export function InputField({ placeholder }: InputFIeldProps) {
+ 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]"
+ />
+ </div>
+ );
+}