UNPKG

@open-tender/ui

Version:

A component library for use with the Open Tender web app

11 lines (10 loc) 416 B
import { Cart, CartItem } from '@open-tender/types'; import React, { ReactNode } from 'react'; import { ScreenConfig } from '../types'; export interface CheckoutCartProps { config: ScreenConfig; cart: Cart; renderCartItem: (item: CartItem, index: number) => ReactNode; } declare const CheckoutCart: ({ config, cart, renderCartItem }: CheckoutCartProps) => React.JSX.Element; export default CheckoutCart;