import { Building2Icon, FileTextIcon, Mail, Phone, User } from "lucide-react"; import { CustomerSummary } from "../../schemas"; interface CustomerCardProps { customer: CustomerSummary; } export const CustomerCard = ({ customer }: CustomerCardProps) => { return (

{customer.name}

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