import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { useTranslation } from 'react-i18next';
import { OrderPaymentsWrapper, OrderPaymentTitle } from './style';
const OrderPayments = (props) => {
    const { t } = useTranslation();
    const { payments } = props;
    return (_jsxs(OrderPaymentsWrapper, { children: [_jsx(OrderPaymentTitle, { children: t('OS.KDS.Card.Payment') }, void 0), payments.map((payment) => (_jsxs("div", { children: [payment.type, ": ", payment.amount] }, payment.id)))] }, void 0));
};
export default OrderPayments;
//# sourceMappingURL=index.js.map