From fbfed01098a60f82c33e2e936d95fab7d4c69d7f Mon Sep 17 00:00:00 2001 From: Zhigang Fang Date: Fri, 25 Jun 2021 20:36:10 +0800 Subject: [PATCH] fix: import animated from react-native-reanimated --- packages/stack/src/types.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/stack/src/types.tsx b/packages/stack/src/types.tsx index d452f39b..85b14e1c 100644 --- a/packages/stack/src/types.tsx +++ b/packages/stack/src/types.tsx @@ -13,7 +13,8 @@ import type { StackNavigationState, } from '@react-navigation/native'; import type * as React from 'react'; -import type { Animated, StyleProp, TextStyle, ViewStyle } from 'react-native'; +import type { StyleProp, TextStyle, ViewStyle } from 'react-native'; +import type * as Animated from 'react-native-reanimated'; export type StackNavigationEventMap = { /**