Something went wrong. Try again.
Utilities and UI components for cross-platform React Native apps
Something went wrong. Try again.
661 B · 28 lines
TSX
at main
1234567891011121314151617181920212223242526272829import { StyleSheet, ScrollView } from 'react-native';import Buttons from './Buttons';import Typography from './Typography';import Themes from './Themes';import { useMaterialTheme } from 'react-native-expressive';import { Divider } from 'react-native-expressive';
export default function App() { const { theme } = useMaterialTheme(); return ( <ScrollView style={[styles.container, { backgroundColor: theme.colors.background }]} > <Themes /> <Divider /> <Buttons /> <Divider /> <Typography /> </ScrollView> );}
const styles = StyleSheet.create({ container: { flex: 1, padding: 16, },});