import { FC } from "react" import { Bill } from "@/app/lib/db-types" import Link from "next/link" import { DocumentIcon, TicketIcon } from "@heroicons/react/24/outline"; import { useLocale } from "next-intl"; export interface ViewBillBadgeProps { locationId: string, bill: Bill }; export const ViewBillBadge: FC = ({ locationId, bill: { _id: billId, name, paid, attachment } }) => { const currentLocale = useLocale(); return ( {name} ); }