@open-tender/ui
Version:
A component library for use with the Open Tender web app
17 lines (16 loc) • 606 B
TypeScript
import React, { ReactNode } from 'react';
import { Handlers, ScreenConfig } from '../types';
export interface CheckoutProps {
config: ScreenConfig;
handlers: Handlers;
title: string;
subtitle?: string | null;
headerContent?: ReactNode;
content: ReactNode;
backTitle: string;
proceedTitle?: string;
renderHeader: () => ReactNode;
renderTotals?: () => ReactNode;
}
declare const Checkout: ({ config, handlers, title, subtitle, headerContent, content, backTitle, proceedTitle, renderHeader, renderTotals }: CheckoutProps) => React.JSX.Element;
export default Checkout;