import { Container, Heading } from "@medusajs/ui" import { useTranslation } from "react-i18next" import { ArrowPath, CurrencyDollar, Envelope, FlyingBox } from "@medusajs/icons" import { ActionMenu } from "../../../../../components/common/action-menu" import { CustomerInfo } from "../../../../../components/common/customer-info" import { HttpTypes } from "@medusajs/types" type OrderCustomerSectionProps = { order: HttpTypes.AdminOrder } export const OrderCustomerSection = ({ order }: OrderCustomerSectionProps) => { return (
) } const Header = () => { const { t } = useTranslation() return (
{t("fields.customer")} , }, ], }, { actions: [ { label: t("addresses.shippingAddress.editLabel"), to: "shipping-address", icon: , }, { label: t("addresses.billingAddress.editLabel"), to: "billing-address", icon: , }, ], }, { actions: [ { label: t("email.editLabel"), to: `email`, icon: , }, ], }, ]} />
) }