From f2a350dbac9c7df4d1553c8fc200003cbca34057 Mon Sep 17 00:00:00 2001 From: William Schurman Date: Fri, 17 May 2019 09:52:24 -0600 Subject: [PATCH] Add cardShadowEnabled and cardOverlayEnabled to NavigationStackViewConfig flow type (#5918) * Add cardShadowEnabled and cardOverlayEnabled to NavigationStackViewConfig flow type * Update changelog --- packages/react-navigation/CHANGELOG.md | 4 ++++ packages/react-navigation/flow/react-navigation.js | 2 ++ 2 files changed, 6 insertions(+) diff --git a/packages/react-navigation/CHANGELOG.md b/packages/react-navigation/CHANGELOG.md index 91147351..d6ebcb99 100644 --- a/packages/react-navigation/CHANGELOG.md +++ b/packages/react-navigation/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## Fixes + +- Update Flow types - Add `cardShadowEnabled` and `cardOverlayEnabled` to NavigationStackViewConfig + ## [3.10.0] - [2019-05-16](https://github.com/react-navigation/react-navigation/releases/tag/3.10.0) ## Removed diff --git a/packages/react-navigation/flow/react-navigation.js b/packages/react-navigation/flow/react-navigation.js index 8b0efe5c..060e6d98 100644 --- a/packages/react-navigation/flow/react-navigation.js +++ b/packages/react-navigation/flow/react-navigation.js @@ -451,6 +451,8 @@ declare module 'react-navigation' { headerLayoutPreset?: 'left' | 'center', headerBackTitleVisible?: boolean, cardStyle?: ViewStyleProp, + cardShadowEnabled?: boolean, + cardOverlayEnabled?: boolean, transitionConfig?: ( transitionProps: NavigationTransitionProps, prevTransitionProps: ?NavigationTransitionProps,