import React from 'react';
import { Text, View, Alert, TouchableOpacity } from 'react-native';
import { IAvatar } from '../../definitions';
import I18n from '../../i18n';
import Avatar from '../../containers/Avatar';
// import Touch from '../../containers/Touch';
import styles from './styles';
import { useTheme } from '../../theme';
const AvatarSuggestion = ({ avatarSuggestions }: { avatarSuggestions: IAvatar[] }) => {
const { colors } = useTheme();
const test = [
...avatarSuggestions,
...avatarSuggestions,
...avatarSuggestions,
...avatarSuggestions,
...avatarSuggestions,
...avatarSuggestions,
...avatarSuggestions,
...avatarSuggestions,
...avatarSuggestions,
...avatarSuggestions,
...avatarSuggestions,
...avatarSuggestions
];
const renderItem = () =>
test.slice(0, 8).map(item => (
Alert.alert('aqui')}
style={[styles.avatarButton, { backgroundColor: colors.borderColor }]}
>
));
return (
{I18n.t('Images_uploaded')}
{renderItem()}
);
};
export default AvatarSuggestion;