interface TripProgramBlockProps { meetingPoint: string | null; itinerary: string | null; whatsIncluded: string | null; whatsExcluded: string | null; } export function TripProgramBlock({ meetingPoint, itinerary, whatsIncluded, whatsExcluded, }: TripProgramBlockProps) { const hasAny = meetingPoint || itinerary || whatsIncluded || whatsExcluded; if (!hasAny) return null; return (

Detail perjalanan

{meetingPoint && (

Meeting point

{meetingPoint}

)} {itinerary && (

Itinerary

{itinerary}

)} {(whatsIncluded || whatsExcluded) && (
{whatsIncluded && (

Termasuk

{whatsIncluded}

)} {whatsExcluded && (

Tidak termasuk

{whatsExcluded}

)}
)}
); }