Skip to content

Commit 07a7309

Browse files
author
Kubit
committed
Include new conditional to show or not Icon
1 parent 2e16b8e commit 07a7309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/input/components/inputIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const InputIconStandAloneDeprecatedComponent = (
4747
props: IInputIcon,
4848
ref: React.ForwardedRef<HTMLDivElement>
4949
): JSX.Element | null => {
50-
if (!props.icon || props.loading) {
50+
if (!props.icon || props.rightIcon || props.leftIcon || props.loading) {
5151
return null;
5252
}
5353

0 commit comments

Comments
 (0)