// eslint-disable-next-line eslint-comments/disable-enable-pair /* eslint-disable import/namespace */ import 'expo-dev-client' import React, { useState } from 'react' import { Code, Heading, Label, Paragraph, Shape } from '@status-im/components' import { Stack, TamaguiProvider } from '@tamagui/core' import { useFonts } from 'expo-font' import { SafeAreaView, TouchableOpacity } from 'react-native' import tamaguiConfig from './tamagui.config' type ThemeVars = 'light' | 'dark' export default function App() { const [theme, setTheme] = useState('light') const [loaded] = useFonts({ Inter: require('@tamagui/font-inter/otf/Inter-Medium.otf'), InterBold: require('@tamagui/font-inter/otf/Inter-Bold.otf'), // Tamagui does this for you on web, but you need to do it manually on native. Only for the demo. We should seek a better solution. UbuntuMono: require('./assets/fonts/UbuntuMono.ttf'), }) if (!loaded) { return null } return ( Communities This is an Heading 2 Paragraph uppercased and bolded This is a paragraph This is a code line 0x213abc190 ... 121ah4a9e Theme selected - {theme} setTheme(theme === 'dark' ? 'light' : 'dark')} > Toogle theme ) }