import InstagramChanel from '@/../public/instagram.png'; import Logo from '@/../public/logo.jpeg'; import TelegramChanel from '@/../public/telegram.jpg'; import { Box, Typography } from '@mui/material'; import Image from 'next/image'; import { forwardRef } from 'react'; interface BoxesPrintProps { boxData?: { id: number; box_name: string; net_weight: number; box_weight: number; box_type: string; box_size: string; passportName: string; status: string; packetId: number; partyId: number; partyName: string; passportId: string; client_id: string; clientName: string; products_list: Array<{ id: number; price: number; cargoId: string; trekId: string; name: string; nameRu: string; amount: number; acceptedNumber: number; weight: number; }>; }; key: number | string; } const BoxesPrint = forwardRef(({ boxData, key }, ref) => { return ( logo CPOST EXPRESS CARGO Reys: {boxData?.partyName}-{boxData?.client_id} TEL: +(998) 90 113 44 77 telegram instagram {boxData?.products_list.map((list, index) => ( {list.trekId} ))} ); }); BoxesPrint.displayName = 'BoxesPrint'; export default BoxesPrint;