diff options
| author | l3wdfut4pwr <l3wdfut4pwr@gmail.com> | 2026-04-02 08:36:51 +0300 |
|---|---|---|
| committer | l3wdfut4pwr <l3wdfut4pwr@gmail.com> | 2026-04-02 08:36:51 +0300 |
| commit | 1d20080db8a26e4b7dd4071daac1166142592afa (patch) | |
| tree | b4c1bbb3725f00515b4d9a3d1cd18584cba36c81 /src/components/ui/inputfield.tsx | |
| parent | 37f51ee88710868a77b4645294cf32862f55e7c4 (diff) | |
minor improvements
Diffstat (limited to 'src/components/ui/inputfield.tsx')
| -rw-r--r-- | src/components/ui/inputfield.tsx | 6 |
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 |
