import { ArrayElement } from "@repo/rdx-utils"; import { Building2Icon, FileTextIcon, Mail, Phone, Search, User } from "lucide-react"; import { CustomersListData } from "../../schemas"; interface CustomerCardProps { customer: ArrayElement; } export const CustomerCard = ({ customer }: CustomerCardProps) => { return (

{customer.name}

{customer.email_primary}
{customer.mobile_primary && (
{customer.mobile_primary}
)} {customer.trade_name && (
{customer.trade_name}
)} {customer.tin && (
{customer.tin}
)}
); };