import { IUser } from "../types/IUser"; import ChevronRightIcon from "./icons/ChevronRightIcon"; import NewButton from "./NewButton"; function ClientCard({ client }: { client: IUser }) { return ( <>

Клиент

{client.name}

{!client.email && (

Добавьте email

)}
); } export default ClientCard;