import {FONTS} from '#/consts/assets'; import {type ColorScheme} from '#/consts/colors'; import {StyleSheet, Text, View} from 'react-native'; const TECHS = [ {label: 'React Native', version: '0.85'}, {label: 'React', version: '19.2'}, {label: 'TypeScript', version: '5.x'}, {label: 'New Architecture', version: ''}, ]; type Props = {colors: ColorScheme}; export function TechStack({colors}: Props) { return ( Tech Stack {TECHS.map(tech => ( {tech.label} {tech.version !== '' && ( {tech.version} )} ))} ); } const styles = StyleSheet.create({ container: { marginTop: 32, }, heading: { fontSize: 18, fontFamily: FONTS.ROBOTO_BOLD, marginBottom: 12, }, chips: { flexDirection: 'row', flexWrap: 'wrap', gap: 8, }, chip: { flexDirection: 'row', alignItems: 'center', paddingHorizontal: 14, paddingVertical: 8, borderRadius: 20, borderWidth: 1, gap: 6, }, chipLabel: { fontSize: 13, fontFamily: FONTS.ROBOTO_SEMIBOLD, }, chipVersion: { fontSize: 12, fontFamily: FONTS.ROBOTO_REGULAR, }, });