page.tsx 617 B

12345678910111213141516171819
  1. import { router } from 'expo-router';
  2. import React from 'react';
  3. import { Button, Platform, View } from 'react-native';
  4. export default function TestPage() {
  5. return <View>{/* Put your testing components below */}</View>;
  6. }
  7. export const GoTestPageBTN = () => {
  8. const onClick = () => {
  9. router.push('/test');
  10. };
  11. return (
  12. <View className={`absolute top-9 left-7 rounded-sm z-10 ${Platform.OS == 'ios' ? 'bg-black' : ''}`}>
  13. {/* <Button onPress={onClick} color={Platform.OS == 'ios' ? 'white' : 'black'} title="Go Test Page" /> */}
  14. </View>
  15. );
  16. };