mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-27 22:24:38 +08:00
Auto-fix lint errors
Reviewed By: bestander Differential Revision: D3683952 fbshipit-source-id: 9484d0b0e86859e8edaca0da1aa13a667f200905
This commit is contained in:
committed by
Facebook Github Bot 4
parent
8e2906ae89
commit
94666f16c7
@@ -50,10 +50,10 @@ function defaultGetSectionHeaderData(
|
||||
type differType = (data1: any, data2: any) => bool;
|
||||
|
||||
type ParamType = {
|
||||
rowHasChanged: differType;
|
||||
getRowData?: ?typeof defaultGetRowData;
|
||||
sectionHeaderHasChanged?: ?differType;
|
||||
getSectionHeaderData?: ?typeof defaultGetSectionHeaderData;
|
||||
rowHasChanged: differType,
|
||||
getRowData?: ?typeof defaultGetRowData,
|
||||
sectionHeaderHasChanged?: ?differType,
|
||||
getSectionHeaderData?: ?typeof defaultGetSectionHeaderData,
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -43,10 +43,10 @@ const {
|
||||
} = ReactNative;
|
||||
|
||||
type Props = {
|
||||
children?: ReactElement<any>;
|
||||
style?: any;
|
||||
textStyle?: any;
|
||||
viewProps?: any;
|
||||
children?: ReactElement<any>,
|
||||
style?: any,
|
||||
textStyle?: any,
|
||||
viewProps?: any,
|
||||
}
|
||||
|
||||
const NavigationHeaderTitle = ({ children, style, textStyle, viewProps }: Props) => (
|
||||
|
||||
@@ -1258,7 +1258,7 @@ var Navigator = React.createClass({
|
||||
},
|
||||
|
||||
_renderNavigationBar: function() {
|
||||
let { navigationBar } = this.props;
|
||||
const { navigationBar } = this.props;
|
||||
if (!navigationBar) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user