page.tsx 658 B

1234567891011121314151617181920212223
  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
  14. onPress={onClick}
  15. color={Platform.OS == 'ios' ? 'white' : 'black'}
  16. title="Go Test Page"
  17. /> */}
  18. </View>
  19. );
  20. };