import React, { ReactNode } from 'react'; import { Button, StyleProp, StyleSheet, Text, useColorScheme, View, ViewStyle, } from 'react-native'; import { Authenticator, useAuthenticator, defaultDarkModeOverride, ThemeProvider, Theme, useTheme, } from '@aws-amplify/ui-react-native'; import { Amplify } from 'aws-amplify'; import awsconfig from './aws-exports'; Amplify.configure(awsconfig); const MyHeader = ({ children, style, }: { children?: ReactNode; style?: StyleProp; }) => { const { tokens: { colors, fontSizes, borderWidths }, } = useTheme(); console.log({ borderWidths }); return ( {children} ); }; function SignOutButton() { const { signOut } = useAuthenticator(); return