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

16 lines (15 loc) 599 B
import { CheckoutProps, Handlers } from '@open-tender/ui'; import { ReactNode } from 'react'; declare const CheckoutContainer: ({ handlers, title, subtitle, headerContent, content, backTitle, proceedTitle, renderHeader, renderTotals, children }: { handlers: Handlers; title: string; subtitle?: string | null; headerContent?: ReactNode; content: ReactNode; backTitle: string; proceedTitle?: string; renderHeader: () => ReactNode; renderTotals?: () => ReactNode; children: (props: CheckoutProps) => ReactNode; }) => ReactNode; export default CheckoutContainer;