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) 562 B
import { CategoryNavProps, CategoryNavOtherProps, CategoryNavItemProps } from '@open-tender/ui'; import React, { ReactNode } from 'react'; declare const CategoryNav: ({ displayImage, children, navigate, CategoryNavOtherView, CategoryNavItemView }: { displayImage?: boolean; children: (props: CategoryNavProps) => ReactNode; navigate: (route: string) => void; CategoryNavOtherView: (props: CategoryNavOtherProps) => ReactNode; CategoryNavItemView: (props: CategoryNavItemProps) => ReactNode; }) => React.ReactNode; export default CategoryNav;