From 7a125df41d2d8b078d2bb2b9db5486b725ae725a Mon Sep 17 00:00:00 2001 From: Brent Vatne Date: Wed, 3 Jul 2019 16:16:45 -0700 Subject: [PATCH] Merge pull request #7 from jarvisluong/patch-1 change ComponentType to Element --- packages/animated-switch/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/animated-switch/index.d.ts b/packages/animated-switch/index.d.ts index 63295d60..9b84cae2 100644 --- a/packages/animated-switch/index.d.ts +++ b/packages/animated-switch/index.d.ts @@ -3,7 +3,7 @@ import { NavigationRouteConfigMap, SwitchNavigatorConfig, NavigationContainer } import { Transition } from 'react-native-reanimated'; export interface AnimatedSwitchNavigatorConfig extends SwitchNavigatorConfig { - transition?: React.ComponentType; + transition?: React.Element; } export default function createAnimatedSwitchNavigator(