UNPKG

@open-tender/ui

Version:

A component library for use with the Open Tender web app

13 lines (12 loc) 601 B
import { CartItemGroup, CartItemGroups, CartItemOption, CartLevels } from '@open-tender/types'; import React, { ReactNode } from 'react'; import { Handlers, ScreenConfig } from '../../types'; declare const ItemSelectedView: ({ config, groups, renderItemOption, renderErrorMessage }: { config: ScreenConfig; handlers: Handlers; groups: CartItemGroups; levels: CartLevels; renderItemOption: (group: CartItemGroup, option: CartItemOption) => ReactNode; renderErrorMessage: (content: string, icon: ReactNode) => ReactNode; }) => React.JSX.Element; export default ItemSelectedView;