@open-tender/ui
Version:
A component library for use with the Open Tender web app
13 lines (12 loc) • 503 B
TypeScript
import { CartItemOption } from '@open-tender/types';
import React, { ReactNode } from 'react';
import { Handlers, ScreenConfig } from '../types';
export interface OptionProps {
config: ScreenConfig;
modalContentConfig: ScreenConfig;
handlers: Handlers;
option: CartItemOption;
renderItemGroups: (excludeSize: boolean) => ReactNode;
}
declare const Option: ({ config, modalContentConfig, handlers, option, renderItemGroups }: OptionProps) => React.JSX.Element;
export default Option;