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

14 lines (13 loc) 665 B
import { CartItemGroups, CartLevels } from '@open-tender/types'; import { Handlers, ItemSelectionsProps, ItemOptionProps, ErrorMessageProps } from '@open-tender/ui'; import React, { ReactNode } from 'react'; declare const ItemSelections: ({ handlers, groups, levels, isIncomplete, children, ItemOptionView, ErrorMessageView }: { handlers: Handlers; groups: CartItemGroups; levels: CartLevels; isIncomplete: boolean; children: (props: ItemSelectionsProps) => ReactNode; ItemOptionView: (props: ItemOptionProps) => ReactNode; ErrorMessageView: (props: ErrorMessageProps) => ReactNode; }) => React.ReactNode; export default ItemSelections;