Skip to content

Commit

Permalink
@allow-large-files clean up xplat/js for flow 0.70.0
Browse files Browse the repository at this point in the history
Reviewed By: fishythefish

Differential Revision: D7643236

fbshipit-source-id: 1d9a95f1e249ce3fdc552a4ca92a6c63b267dae4
  • Loading branch information
avikchaudhuri authored and facebook-github-bot committed Apr 17, 2018
1 parent c29eb22 commit 06f5f9a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions js/PointerEventsExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,4 +251,7 @@ exports.framework = 'React';
exports.title = 'Pointer Events';
exports.description = 'Demonstrates the use of the pointerEvents prop of a ' +
'View to control how touches should be handled.';
/* $FlowFixMe(>=0.70.0 site=react_native_fb) This comment suppresses an error
* found when Flow v0.70 was deployed. To see the error delete this comment
* and run Flow. */
exports.examples = exampleClasses.map(infoToExample);
10 changes: 8 additions & 2 deletions js/ScrollViewExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,14 @@ exports.examples = [

return (
<View>
{renderScrollView('LTR layout', {direction: 'ltr'})}
{renderScrollView('RTL layout', {direction: 'rtl'})}
{/* $FlowFixMe(>=0.70.0 site=react_native_fb) This comment
* suppresses an error found when Flow v0.70 was deployed. To see
* the error delete this comment and run Flow. */
renderScrollView('LTR layout', {direction: 'ltr'})}
{/* $FlowFixMe(>=0.70.0 site=react_native_fb) This comment
* suppresses an error found when Flow v0.70 was deployed. To see
* the error delete this comment and run Flow. */
renderScrollView('RTL layout', {direction: 'rtl'})}
</View>
);
},
Expand Down

0 comments on commit 06f5f9a

Please sign in to comment.