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

11 lines (10 loc) 435 B
import { MenuCategory as MenuCategoryType } from '@open-tender/types'; import { MenuCategoryProps } from '@open-tender/ui'; import { ReactNode } from 'react'; declare const MenuCategory: ({ category, placeholder, navigate, children }: { category: MenuCategoryType; placeholder?: string; navigate: (route: string) => void; children: (props: MenuCategoryProps) => ReactNode; }) => ReactNode; export default MenuCategory;