mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-16 18:03:14 +03:00
replaced with reanimated in pinAnimatedInput
This commit is contained in:
parent
c4897f316f
commit
153943ea2a
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user