mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-03 07:14:59 +08:00
Backed out D3033933
Reviewed By: hedgerwang Differential Revision: D3273603 fb-gh-sync-id: e013fd3efd793960d076d2a01447b2a11f483ede fbshipit-source-id: e013fd3efd793960d076d2a01447b2a11f483ede
This commit is contained in:
committed by
Facebook Github Bot 0
parent
57ceeafd4f
commit
b24d471fb2
@@ -66,7 +66,6 @@ const scene = PropTypes.shape({
|
||||
|
||||
/* NavigationSceneRendererProps */
|
||||
const SceneRenderer = {
|
||||
key: PropTypes.string.isRequired,
|
||||
layout: layout.isRequired,
|
||||
navigationState: navigationParentState.isRequired,
|
||||
onNavigate: PropTypes.func.isRequired,
|
||||
@@ -98,7 +97,6 @@ function extractSceneRendererProps(
|
||||
props: NavigationSceneRendererProps,
|
||||
): NavigationSceneRendererProps {
|
||||
return {
|
||||
key: props.scene.navigationState.key,
|
||||
layout: props.layout,
|
||||
navigationState: props.navigationState,
|
||||
onNavigate: props.onNavigate,
|
||||
|
||||
Reference in New Issue
Block a user