Skip to content

Commit f72b8b4

Browse files
committed
refactor(input): ♻️ remove style from icon which is added to prefix and suffix wrapper
1 parent b400c7b commit f72b8b4

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/components/input/Input.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,6 @@ const RNInput: React.FC<Partial<InputProps>> = forwardRef<
152152
: inputTheme.variant[variant]?.prefix?.disabled,
153153
),
154154
),
155-
iconStyle: tailwind.style(
156-
cx(inputTheme.variant[variant]?.prefix?.common),
157-
),
158155
iconSize: size === "xl" ? 16 : 12,
159156
})
160157
: prefix;
@@ -190,9 +187,6 @@ const RNInput: React.FC<Partial<InputProps>> = forwardRef<
190187
: inputTheme.variant[variant]?.suffix?.disabled,
191188
),
192189
),
193-
iconStyle: tailwind.style(
194-
cx(inputTheme.variant[variant]?.suffix?.common),
195-
),
196190
iconSize: size === "xl" ? 16 : 12,
197191
})
198192
: suffix;

0 commit comments

Comments
 (0)