We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1965831 commit 061dc17Copy full SHA for 061dc17
packages/ui/src/components/TextInput/TextInput.tsx
@@ -87,7 +87,7 @@ export const TextInput = forwardRef<HTMLInputElement, TextInputProps>(
87
<div
88
data-testid="right-icon"
89
className={`${theme.field.rightIcon.base} ${!onRightIconClick ? "pointer-events-none" : ""}`}
90
- onClick={(e) => onRightIconClick?.(e)}
+ onClick={onRightIconClick}
91
>
92
<RightIcon className={theme.field.rightIcon.svg} />
93
</div>
0 commit comments