From ac75426107358fc2767e679722448cd0df6d3008 Mon Sep 17 00:00:00 2001 From: Danny Cochran Date: Mon, 13 Feb 2017 20:46:26 -0800 Subject: [PATCH] Update React-Native typings for NavigationCardStack The NavigationCardStack recently got a cardStyleInterpolator prop: https://github.com/facebook/react-native/pull/11082 --- react-native/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/react-native/index.d.ts b/react-native/index.d.ts index c46db449f8..6b540a9309 100644 --- a/react-native/index.d.ts +++ b/react-native/index.d.ts @@ -7659,6 +7659,10 @@ declare module "react" { * Custom style applied to the card. */ cardStyle?: ViewStyle + /** + * Custom style interpolator for the card. + */ + cardStyleInterpolator?: (props: NavigationSceneRendererProps) => ViewStyle; /** * Direction of the cards movement. Value could be `horizontal` or * `vertical`. Default value is `horizontal`.