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

15 lines (14 loc) 613 B
import { MenuItem, MenuItemFavorite } from '@open-tender/types'; import { CategoryItemProps } from '@open-tender/ui'; import { ReactNode } from 'react'; interface CategoryItemInterface { item: MenuItem; favorite?: MenuItemFavorite; allergenAlerts?: string[]; placeholder?: string; index?: number; navigate: (route: string) => void; children: (props: CategoryItemProps) => ReactNode; } declare const _default: import("react").MemoExoticComponent<({ item, favorite, allergenAlerts, placeholder, index, navigate, children }: CategoryItemInterface) => ReactNode>; export default _default;