@@ -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' ;
3337
3438export interface Props extends Omit < TextInputProps , 'secureTextEntry' > {
@@ -340,6 +344,7 @@ const FloatingLabelInput: React.ForwardRefRenderFunction<InputRef, Props> = (
340344 duration : animationDuration ? animationDuration : 300 ,
341345 easing : EasingNode . linear ,
342346 } ) ,
347+ // @ts -ignore
343348 timing ( fontColorAnimated , {
344349 toValue : 1 ,
345350 duration : animationDuration ? animationDuration : 300 ,
@@ -389,6 +394,7 @@ const FloatingLabelInput: React.ForwardRefRenderFunction<InputRef, Props> = (
389394 duration : animationDuration ? animationDuration : 300 ,
390395 easing : EasingNode . linear ,
391396 } ) ,
397+ // @ts -ignore
392398 timing ( fontColorAnimated , {
393399 toValue : 1 ,
394400 duration : animationDuration ? animationDuration : 300 ,
@@ -431,6 +437,7 @@ const FloatingLabelInput: React.ForwardRefRenderFunction<InputRef, Props> = (
431437 duration : animationDuration ? animationDuration : 300 ,
432438 easing : EasingNode . linear ,
433439 } ) ,
440+ // @ts -ignore
434441 timing ( fontColorAnimated , {
435442 toValue : 0 ,
436443 duration : animationDuration ? animationDuration : 300 ,
@@ -507,10 +514,13 @@ const FloatingLabelInput: React.ForwardRefRenderFunction<InputRef, Props> = (
507514 : ! isFocusedState
508515 ? customLabelStyles . fontSizeBlurred
509516 : customLabelStyles . fontSizeFocused ,
517+ // @ts -ignore
510518 color : interpolateColors ( fontColorAnimated , {
511519 inputRange : [ 0 , 1 ] ,
512520 outputColorRange : [
521+ // @ts -ignore
513522 customLabelStyles . colorBlurred ,
523+ // @ts -ignore
514524 customLabelStyles . colorFocused ,
515525 ] ,
516526 } ) ,
0 commit comments