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

12 lines (11 loc) 541 B
import { Cart } from '@open-tender/types'; import { CartItemProps, CheckoutCartProps, QuantityProps } from '@open-tender/ui'; import React, { ReactNode } from 'react'; declare const CheckoutCart: ({ cart, navigate, children, QuantityView, CartItemView }: { cart: Cart; navigate: (route: string) => void; children: (props: CheckoutCartProps) => ReactNode; QuantityView: (props: QuantityProps) => React.ReactNode; CartItemView: (props: CartItemProps) => React.ReactNode; }) => React.ReactNode; export default CheckoutCart;