import React, { useState, useRef } from 'react'; import { Text, View, StyleSheet, Button, StatusBar } from 'react-native'; import { Transitioning, Transition } from 'react-native-reanimated'; function shuffleArray(array) { for (let i = array.length - 1; i > 0; i--) { const j = Math.floor(Math.random() * (i + 1)); [array[i], array[j]] = [array[j], array[i]]; } } const Hour = ({ hour, min, pm }) => ( {hour}:{min} {pm ? 'PM' : 'AM'} ); const Location = ({ label, name, delay }) => ( <> {label} {name} ); const Spacer = ({ height }) => ; const Tix = () => ( Notes Crashtest Airlanes · Economy · Embraer RJ-175 {'\n'} CRA 2199 {'\n'} Plane and crew by Bold & Brave ltd. ); function Ticket() { let [refreshed, setRefreshed] = useState(1); const ref = useRef(); const transition = ( ); return (