import React from 'react'; import {Image, StyleSheet, Text, TouchableOpacity, View} from 'react-native'; import {ProfilePreviewType} from '../../types'; import {defaultUserProfile, normalize} from '../../utils'; type TaggUserRowCellProps = { onPress: () => void; user: ProfilePreviewType; }; const TaggUserRowCell: React.FC = ({onPress, user}) => { return ( {`@${user.username}`} {user.first_name} {user.last_name} ); }; const styles = StyleSheet.create({ container: { flexDirection: 'row', paddingHorizontal: 25, paddingVertical: 15, width: '100%', }, image: { width: normalize(30), height: normalize(30), borderRadius: 30, }, textContent: { flexDirection: 'column', justifyContent: 'space-between', marginLeft: 20, }, username: { fontWeight: '500', fontSize: normalize(14), }, name: { fontWeight: '500', fontSize: normalize(12), color: '#828282', }, }); export default TaggUserRowCell;