diff --git a/src/screens.d.ts b/src/screens.d.ts index ccf85800..f9334e8e 100644 --- a/src/screens.d.ts +++ b/src/screens.d.ts @@ -3,13 +3,13 @@ declare module 'react-native-screens' { import { ComponentClass } from 'react'; - import { ViewProps } from 'react-native'; + import { ViewProps, Animated } from 'react-native'; export function useScreens(shouldUseScreens?: boolean): void; export function screensEnabled(): boolean; export interface ScreenProps extends ViewProps { - active?: boolean; + active?: 0 | 1 | Animated.AnimatedInterpolation; onComponentRef?: (view: any) => void; } export const Screen: ComponentClass;