@open-tender/ui
Version:
A component library for use with the Open Tender web app
14 lines (13 loc) • 650 B
TypeScript
import { CartItemGroup, CartItemGroups, CartItemOption } from '@open-tender/types';
import React, { ReactNode } from 'react';
import { ScreenConfig } from '../types';
export interface ItemSelectionsProps {
config: ScreenConfig;
groups: CartItemGroups;
isIncomplete: boolean;
isCustomize?: boolean;
renderItemOption: (group: CartItemGroup, option: CartItemOption) => ReactNode;
renderErrorMessage: (icon: ReactNode, children: string) => ReactNode;
}
declare const ItemSelections: ({ config, groups, isIncomplete, renderItemOption, renderErrorMessage }: ItemSelectionsProps) => React.JSX.Element;
export default ItemSelections;