/* eslint-disable @typescript-eslint/no-explicit-any */ import { useCurrency } from "@/context/CurrencyContext"; import React from "react"; interface PreviewProps { fromCountry?: any; toCountry?: any; totalWeight: number; noOfPackages: number; totalValue: number; } const ShipmentPreview: React.FC = ({ fromCountry, toCountry, totalWeight, noOfPackages, totalValue, }) => { const { currencyName } = useCurrency(); return (
{fromCountry?.label || "From"} → {toCountry?.label || "To"}
); }; export default ShipmentPreview;