From 9a554ebe34936f5e7c53adac2e523c5115d46f02 Mon Sep 17 00:00:00 2001 From: Jakub Piasecki Date: Fri, 12 Apr 2024 10:44:00 +0200 Subject: [PATCH] Update repro --- App.tsx | 69 ++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 58 insertions(+), 11 deletions(-) diff --git a/App.tsx b/App.tsx index 011f85c..2615f8f 100644 --- a/App.tsx +++ b/App.tsx @@ -1,29 +1,76 @@ import React from 'react'; -import {StyleSheet, View, Text, SafeAreaView, Button} from 'react-native'; +import { + StyleSheet, + View, + Text, + SafeAreaView, + Button, + ScrollView, +} from 'react-native'; import PagerView from 'react-native-pager-view'; +const PagerData = new Array(100).fill(null).map((_, index) => index); +const Data = new Array(10).fill(null).map((_, index) => index); +const Colors = [ + 'red', + 'blue', + 'green', + 'yellow', + 'purple', + 'orange', + 'pink', + 'black', + 'wheat', + 'gray', +]; + const MyPager = () => { - const [visible, setVisible] = React.useState(false); + const [pagerVisible, setPagerVisible] = React.useState(false); + const [squaresVisible, setSquaresVisible] = React.useState(false); return (