Summary: This diff fixes the PanResponderExample in RN Tester app

Reviewed By: shergin

Differential Revision: D16420688

fbshipit-source-id: efdc6b3c82c54a8984a7bb106230d9f832e454dd
This commit is contained in:
David Vacca 2019-07-22 15:35:19 -07:00 коммит произвёл Facebook Github Bot
Родитель 2992518b2e
Коммит 4ab9e2d825
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -128,6 +128,7 @@ const styles = StyleSheet.create({
circle: {
width: CIRCLE_SIZE,
height: CIRCLE_SIZE,
backgroundColor: 'green',
borderRadius: CIRCLE_SIZE / 2,
position: 'absolute',
left: 0,
@ -135,7 +136,7 @@ const styles = StyleSheet.create({
},
container: {
flex: 1,
paddingTop: 64,
height: 500,
},
});
@ -144,7 +145,7 @@ exports.description =
'Shows the Use of PanResponder to provide basic gesture handling';
exports.examples = [
{
title: 'Basic gresture handling',
title: 'Basic gesture handling',
render: function(): React.Element<typeof PanResponderExample> {
return <PanResponderExample />;
},