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) 465 B
import { OrderItem } from '@open-tender/types'; import { PointsRewardProps, QuantityProps } from '@open-tender/ui'; import React, { ReactNode } from 'react'; declare const PointsReward: ({ item, callback, children, QuantityView }: { item: OrderItem; callback?: () => void; isLast?: boolean; children: (props: PointsRewardProps) => ReactNode; QuantityView: (props: QuantityProps) => ReactNode; }) => React.ReactNode; export default PointsReward;