@open-tender/ui
Version:
A component library for use with the Open Tender web app
9 lines (8 loc) • 405 B
JavaScript
import React from 'react';
import { makeProps } from '../utils';
import View from './View';
const CheckoutTotals = ({ config, renderCheckTotals }) => {
return (React.createElement(View, Object.assign({}, makeProps(config, 'checkoutTotals')),
React.createElement(View, Object.assign({}, makeProps(config, 'checkoutTotals__container')), renderCheckTotals())));
};
export default CheckoutTotals;