import { Head, Link } from '@inertiajs/react'; export default function OfferPreparations({ records, canCreate, }: { records: { data: { id: number; title: string | null; reference: string; state: string; }[]; prev_page_url: string | null; next_page_url: string | null; }; canCreate: boolean; }) { return (

As minhas ofertas

Prepare e guarde as suas ofertas num espaço privado.

{canCreate && ( Preparar oferta )}
{!records.data.length && (

Ainda não existem ofertas neste âmbito.

)}
); }