import { TouchableOpacity, StyleSheet, FlatList, View } from 'react-native'; import { useState } from 'react'; import ParallaxScrollView from '@/components/misc/parallax-scroll-view'; import { Link } from 'expo-router' import { ThemedText } from '@/components/misc/themed-text'; import { ThemedView } from '@/components/misc/themed-view'; import { IconSymbol } from '@/components/ui/icon-symbol'; import { Fonts } from '@/constants/theme'; import { useThemeColor } from '@/hooks/use-theme-color'; export default function Settings() { const [options] = useState([ { id: 'profile', name: 'Perfil', path: '/profile'} ]) const textColor = useThemeColor({}, 'text'); const tintColor = useThemeColor({}, 'tint'); const renderItem = ({item}) => ( {item.name} ) return ( }> Configurações {(options.map((opt) => ( renderItem({ item: opt }) )))} ) } const styles = StyleSheet.create({ headerImage: { color: '#808080', bottom: -90, left: -35, position: 'absolute', }, item: { paddingTop: 16, paddingBottom: 16, }, itemName: { fontSize: 16, fontWeight: 'bold', }, separator: { height: 1, backgroundColor: '#ccc' }, titleContainer: { flexDirection: 'row', gap: 8, }, });