UNPKG

@open-tender/ui

Version:

A component library for use with the Open Tender web app

12 lines (11 loc) 448 B
import { Cart, CartItem } from '@open-tender/types'; import React, { ReactNode } from 'react'; import { Handlers, ScreenConfig } from '../types'; export interface UpsellsProps { config: ScreenConfig; handlers: Handlers; items: Cart; renderUpsellItem: (item: CartItem, isLast: boolean) => ReactNode; } declare const Upsells: ({ config, handlers, items, renderUpsellItem }: UpsellsProps) => React.JSX.Element; export default Upsells;