import { ParseEmojis } from '@components/Parse' import { StyleConstants } from '@utils/styles/constants' import { useTheme } from '@utils/styles/ThemeManager' import React from 'react' import { Pressable, StyleSheet, Text, View } from 'react-native' import GracefullyImage from './GracefullyImage' export interface Props { account: Mastodon.Account onPress: () => void } const ComponentAccount: React.FC = ({ account, onPress }) => { const { theme } = useTheme() return ( @{account.acct} ) } const styles = StyleSheet.create({ itemDefault: { paddingHorizontal: StyleConstants.Spacing.Global.PagePadding, paddingVertical: StyleConstants.Spacing.M }, itemAccount: { flexDirection: 'row', alignItems: 'center' }, itemAccountAvatar: { alignSelf: 'flex-start', width: StyleConstants.Avatar.S, height: StyleConstants.Avatar.S, borderRadius: 6, marginRight: StyleConstants.Spacing.S }, itemAccountAcct: { marginTop: StyleConstants.Spacing.XS } }) export default ComponentAccount