explicit type args in react-native-github

Reviewed By: vjeux

Differential Revision: D3342856

fbshipit-source-id: ba5a4d5529fc9d1d1efe98cc175d718c5f044a5b
This commit is contained in:
Basil Hosmer
2016-05-24 18:20:12 -07:00
committed by Facebook Github Bot 9
parent caa2baee9d
commit ac5636dd59
67 changed files with 149 additions and 153 deletions

View File

@@ -71,14 +71,14 @@ exports.examples = [
},
}, {
title: '<Text onPress={fn}> with highlight',
render: function(): ReactElement {
render: function(): ReactElement<any> {
return <TextOnPressBox />;
},
}, {
title: 'Touchable feedback events',
description: '<Touchable*> components accept onPress, onPressIn, ' +
'onPressOut, and onLongPress as props.',
render: function(): ReactElement {
render: function(): ReactElement<any> {
return <TouchableFeedbackEvents />;
},
}, {
@@ -86,13 +86,13 @@ exports.examples = [
description: '<Touchable*> components also accept delayPressIn, ' +
'delayPressOut, and delayLongPress as props. These props impact the ' +
'timing of feedback events.',
render: function(): ReactElement {
render: function(): ReactElement<any> {
return <TouchableDelayEvents />;
},
}, {
title: '3D Touch / Force Touch',
description: 'iPhone 6s and 6s plus support 3D touch, which adds a force property to touches',
render: function(): ReactElement {
render: function(): ReactElement<any> {
return <ForceTouchExample />;
},
platform: 'ios',
@@ -100,14 +100,14 @@ exports.examples = [
title: 'Touchable Hit Slop',
description: '<Touchable*> components accept hitSlop prop which extends the touch area ' +
'without changing the view bounds.',
render: function(): ReactElement {
render: function(): ReactElement<any> {
return <TouchableHitSlop />;
},
}, {
title: 'Disabled Touchable*',
description: '<Touchable*> components accept disabled prop which prevents ' +
'any interaction with component',
render: function(): ReactElement {
render: function(): ReactElement<any> {
return <TouchableDisabled />;
},
}];