import { Table, TableBody, TableCell, TableRow, Text } from "@tremor/react"; import type { User } from "@calcom/prisma/client"; import { Avatar } from "@calcom/ui"; export const TotalBookingUsersTable = ({ data, }: { data: | { userId: number | null; user: User; emailMd5?: string; count: number; Username?: string }[] | undefined; }) => { return ( <> {data && data?.length > 0 ? ( data?.map((item) => (

{item.user.name}

{item.count}
)) ) : ( No members found )}
); };