/* * @Description: * @Author: jiass * @Date: 2022-01-25 13:29:21 * @LastEditTime: 2022-04-08 16:17:29 * @LastEditors: lanzhisheng */ import React, { FC } from "react"; import { View, Image, Text } from "@tarojs/components"; interface dataItem { image: string; title: string; time: string; id: string; tipsName?: string; } interface propType { data: dataItem; onClick?: any; } const ReportList: FC = (props) => { const { data, onClick } = props; return ( onClick(data)}> {data.title} {data.tipsName} {data.time} ); }; export default ReportList;