import React from "react"; import { StyleSheet } from "react-native"; import { Card, Text, Button, Layout, Avatar, } from "@ui-kitten/components"; const styles = StyleSheet.create({ main: { flexDirection: "row", alignItems: "center", backgroundColor: "transparent", }, avatar: { width: 33, height: 33, backgroundColor: "#eee", }, center: { flex: 1, marginLeft: 14, backgroundColor: "transparent", }, top: { flexDirection: "row", alignItems: "center", backgroundColor: "transparent", justifyContent: "space-between", }, time: { color: "#787878", }, btn: { maxWidth: 10, width: 10, height: 10, borderRadius: 10, marginRight: 10, paddingHorizontal: 0, }, }); export default function Email(props) { // const { } = useModel("wordsModel"); const { info, pressEvent } = props; const { avatar, name, sendTime, content } = info || {}; return (