diff --git a/src/Input.tsx b/src/Input.tsx index e65429a42..c2e09c5a5 100644 --- a/src/Input.tsx +++ b/src/Input.tsx @@ -74,7 +74,7 @@ export const Input = memo( hintText, hideLabel, disabled = false, - iconId: iconId_props, + iconId, classes = {}, style, state = "default", @@ -161,10 +161,6 @@ export const Input = memo( /> ); - const iconId = - iconId_props ?? - (nativeInputProps?.type === "date" ? "ri-calendar-line" : undefined); - return iconId === undefined ? ( nativeInputOrTextArea ) : (