mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-23 20:01:01 +08:00
Reverted commit D4027388
Reviewed By: yungsters Differential Revision: D4027388 fbshipit-source-id: 8e3341b6f393ccf432c1a4e22a7cbf422284a06f
This commit is contained in:
committed by
Facebook Github Bot
parent
dbfd046145
commit
6ea26c01de
@@ -145,7 +145,7 @@ class UIExplorerApp extends React.Component {
|
||||
);
|
||||
}
|
||||
|
||||
_renderHeader(props: NavigationSceneRendererProps): React.Element<*> {
|
||||
_renderHeader(props: NavigationSceneRendererProps): React.Element<any> {
|
||||
return (
|
||||
<NavigationHeader
|
||||
{...props}
|
||||
@@ -155,7 +155,7 @@ class UIExplorerApp extends React.Component {
|
||||
);
|
||||
}
|
||||
|
||||
_renderTitleComponent(props: NavigationSceneRendererProps): React.Element<*> {
|
||||
_renderTitleComponent(props: NavigationSceneRendererProps): React.Element<any> {
|
||||
return (
|
||||
<NavigationHeader.Title>
|
||||
{UIExplorerStateTitleMap(props.scene.route)}
|
||||
@@ -163,7 +163,7 @@ class UIExplorerApp extends React.Component {
|
||||
);
|
||||
}
|
||||
|
||||
_renderScene(props: NavigationSceneRendererProps): ?React.Element<*> {
|
||||
_renderScene(props: NavigationSceneRendererProps): ?React.Element<any> {
|
||||
const state = props.scene.route;
|
||||
if (state.key === 'AppList') {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user