UNPKG

@open-tender/store

Version:

A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our in-store POS API

11 lines (10 loc) 492 B
import { Order } from '@open-tender/types'; import { CheckTotalsProps, CheckoutTotalsProps } from '@open-tender/ui'; import React, { ReactNode } from 'react'; declare const CheckoutTotalsContainer: ({ check, displayGratuity, children, CheckTotalsView }: { check: Order; displayGratuity?: boolean; children: (props: CheckoutTotalsProps) => ReactNode; CheckTotalsView: (props: CheckTotalsProps) => React.ReactNode; }) => React.ReactNode; export default CheckoutTotalsContainer;