@@ -26,9 +26,13 @@ import Animated, {
2626} from 'react-native-reanimated' ;
2727import { styles } from './styles' ;
2828
29+ // @ts -ignore
2930import makeVisibleWhite from './assets/make_visible_white.png' ;
31+ // @ts -ignore
3032import makeInvisibleWhite from './assets/make_invisible_white.png' ;
33+ // @ts -ignore
3134import makeVisibleBlack from './assets/make_visible_black.png' ;
35+ // @ts -ignore
3236import makeInvisibleBlack from './assets/make_invisible_black.png' ;
3337import { getValueWithCurrencyMask , getValueWithNonCurrencyMask } from './utils' ;
3438
@@ -335,6 +339,7 @@ const FloatingLabelInput: React.ForwardRefRenderFunction<InputRef, Props> = (
335339 duration : animationDuration ? animationDuration : 300 ,
336340 easing : EasingNode . linear ,
337341 } ) ,
342+ // @ts -ignore
338343 timing ( fontColorAnimated , {
339344 toValue : 1 ,
340345 duration : animationDuration ? animationDuration : 300 ,
@@ -381,6 +386,7 @@ const FloatingLabelInput: React.ForwardRefRenderFunction<InputRef, Props> = (
381386 duration : animationDuration ? animationDuration : 300 ,
382387 easing : EasingNode . linear ,
383388 } ) ,
389+ // @ts -ignore
384390 timing ( fontColorAnimated , {
385391 toValue : 1 ,
386392 duration : animationDuration ? animationDuration : 300 ,
@@ -420,6 +426,7 @@ const FloatingLabelInput: React.ForwardRefRenderFunction<InputRef, Props> = (
420426 duration : animationDuration ? animationDuration : 300 ,
421427 easing : EasingNode . linear ,
422428 } ) ,
429+ // @ts -ignore
423430 timing ( fontColorAnimated , {
424431 toValue : 0 ,
425432 duration : animationDuration ? animationDuration : 300 ,
@@ -496,10 +503,13 @@ const FloatingLabelInput: React.ForwardRefRenderFunction<InputRef, Props> = (
496503 : ! isFocusedState
497504 ? customLabelStyles . fontSizeBlurred
498505 : customLabelStyles . fontSizeFocused ,
506+ // @ts -ignore
499507 color : interpolateColors ( fontColorAnimated , {
500508 inputRange : [ 0 , 1 ] ,
501509 outputColorRange : [
510+ // @ts -ignore
502511 customLabelStyles . colorBlurred ,
512+ // @ts -ignore
503513 customLabelStyles . colorFocused ,
504514 ] ,
505515 } ) ,
0 commit comments