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

13 lines (12 loc) 602 B
import { Order } from '@open-tender/types'; import { CheckTotalsProps, OrderDetailsItemProps, OrderDetailsProps } from '@open-tender/ui'; import React, { ReactNode } from 'react'; declare const OrderDetails: ({ order, close, goToCheckout, children, CheckTotalsView, OrderDetailsItemView }: { order: Order; close: () => void; goToCheckout: () => void; children: (props: OrderDetailsProps) => ReactNode; CheckTotalsView: (props: CheckTotalsProps) => ReactNode; OrderDetailsItemView: (props: OrderDetailsItemProps) => ReactNode; }) => React.ReactNode; export default OrderDetails;