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.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/ui/inputfield.tsx b/src/components/ui/inputfield.tsx
index 6b585a9..991aca0 100644
--- a/src/components/ui/inputfield.tsx
+++ b/src/components/ui/inputfield.tsx
@@ -1,7 +1,11 @@
import { Input } from '@/components/ui/input';
import React from 'react';
-export function InputField(props: React.InputHTMLAttributes<HTMLInputElement>) {
+type InputFieldProps = React.InputHTMLAttributes<HTMLInputElement> & {
+ isPassword?: boolean;
+};
+
+export function InputField(props: InputFieldProps) {
return (
<div className="rounded-[20px] border-violet border-[2px] h-[39px] flex items-center justify-between py-[10px] px-[20px]">
<Input