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

25 lines (24 loc) 908 B
import { CheckoutProps, Handlers } from '@open-tender/ui'; import { ReactNode } from 'react'; declare const CheckoutContainer: ({ handlers, title, subtitle, headerContent, content, backTitle, proceedTitle, showFooter, showBottomText, renderHeader, renderTotals, children, showViewOrder, isScrollable }: { handlers: Handlers; title: string; subtitle?: string | null; headerContent?: ReactNode; content: ReactNode; backTitle: string; showFooter?: boolean; proceedTitle?: string; showBottomText?: boolean; showViewOrder?: boolean; renderHeader: () => ReactNode; renderTotals?: () => ReactNode; children: (props: CheckoutProps & { showFooter?: boolean; showBottomText?: boolean; showViewOrder?: boolean; isScrollable?: boolean; }) => ReactNode; isScrollable?: boolean; }) => ReactNode; export default CheckoutContainer;