Skip to content

Commit

Permalink
bug: Text input interpolatecolor
Browse files Browse the repository at this point in the history
  • Loading branch information
DogusErdem committed Mar 6, 2024
1 parent 55c9165 commit 373234d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/TextInput/TextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ const TextInput: FCCWD<TextInputProps & RNTextInputProps> = (
const color = interpolateColor(
textInputOffset.value,
[0, 1],
// @ts-ignore
[error ? theme?.error : labelColor.focus || '#000000', error ? theme?.error : labelColor.default || '#FFFFFF'],
[error ? theme?.error || '#FF3434' : labelColor.focus || '#000000', error ? theme?.error || '#FF3434' : labelColor.default || '#FFFFFF'],
);
return {
fontSize,
Expand Down

0 comments on commit 373234d

Please sign in to comment.