diff --git a/src/components/atoms/Input/Input.tsx b/src/components/atoms/Input/Input.tsx index 92268a21..5bf68cfe 100644 --- a/src/components/atoms/Input/Input.tsx +++ b/src/components/atoms/Input/Input.tsx @@ -11,6 +11,8 @@ interface InputProps extends React.InputHTMLAttributes { clearable?: boolean error?: boolean changeValue?: (value: string) => void + onIconClick?: () => void + iconAriaLabel?: string } export function Input({ @@ -20,6 +22,8 @@ export function Input({ className, error, changeValue, + onIconClick, + iconAriaLabel, ...props }: InputProps) { const [showPassword, setShowPassword] = useState(false) @@ -47,10 +51,20 @@ export function Input({ } return ( -