xplat/js/react-native-github

Reviewed By: panagosg7

Differential Revision: D16657770

fbshipit-source-id: 4e260842c838a35317515044c54ccf55a083da33
This commit is contained in:
Logan Daniels
2019-08-09 10:11:15 -07:00
committed by Facebook Github Bot
parent 9127fb51fc
commit 91f139b941
251 changed files with 1486 additions and 980 deletions
@@ -11,7 +11,9 @@
'use strict';
const React = require('react');
const {Text, View, StyleSheet} = require('react-native');
import {PanResponder, ScrollView} from 'react-native';
exports.displayName = 'JSResponderHandlerExample';
@@ -28,13 +30,12 @@ const _gesture = PanResponder.create({
exports.examples = [
{
title: 'JSResponderHandlerExample',
description:
'This example tests the native JSResponderHandler: when the user ' +
description: ('This example tests the native JSResponderHandler: when the user ' +
'scrolls on the right side of the ScrollView (white area located on the' +
' right side of the gray area), the touch event is managed by native ' +
'which blocks the scroll event.',
'which blocks the scroll event.': string),
render: function() {
render: function(): React.Node {
const views = [];
for (let i = 0; i < 100; i++) {
views[i] = (