@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
14 lines (13 loc) • 563 B
TypeScript
import { CartItem as CartItemType } from '@open-tender/types';
import { CartItemProps, QuantityProps } from '@open-tender/ui';
import React, { ReactNode } from 'react';
declare const CartItem: ({ item, isLast, isEditable, isCheckout, navigate, children, QuantityView }: {
item: CartItemType;
isLast?: boolean;
isEditable?: boolean;
isCheckout?: boolean;
navigate: (route: string) => void;
children: (props: CartItemProps) => ReactNode;
QuantityView: (props: QuantityProps) => ReactNode;
}) => React.ReactNode;
export default CartItem;