@open-tender/ui
Version:
A component library for use with the Open Tender web app
17 lines (16 loc) • 583 B
TypeScript
import { CartItem, NavigationPageType } from '@open-tender/types';
import React from 'react';
import { Handlers, ScreenConfig } from '../types';
export interface CategoryItemProps {
config: ScreenConfig;
handlers: Handlers;
item: CartItem;
apiUrl: string;
placeholder?: string;
displayCals?: boolean;
navigationType?: NavigationPageType;
displayDescription?: boolean;
index?: number;
}
declare const CategoryItem: ({ config, handlers, item, apiUrl, placeholder, displayCals }: CategoryItemProps) => React.JSX.Element;
export default CategoryItem;