replaced with reanimated in pinAnimatedInput

This commit is contained in:
Sadaqat Ali 2022-09-28 10:43:02 +05:00
parent c4897f316f
commit 153943ea2a

View File

@ -1,6 +1,7 @@
/* eslint-disable react/no-array-index-key */
import React, { Component } from 'react';
import { Animated, Easing, View } from 'react-native';
import { View } from 'react-native';
import Animated, { Easing } from 'react-native-reanimated';
// Styles
import styles from './pinAnimatedInputStyles';
@ -32,7 +33,7 @@ class PinAnimatedInput extends Component {
Animated.timing(item, {
toValue: 1,
duration: 250,
easing: Easing.linear,
easing: Easing.linear(Easing.linear),
}),
),
]).start((o) => {