@open-tender/ui
Version:
A component library for use with the Open Tender web app
18 lines (17 loc) • 632 B
TypeScript
import { NavigationPageType } from '@open-tender/types';
import React from 'react';
import { Handlers, ScreenConfig } from '../types';
export interface CategoryNavItemProps {
config: ScreenConfig;
handlers: Handlers;
title: string;
imageUrl: string | null;
apiUrl: string;
displayImage?: boolean;
disabled?: boolean;
navigationType?: NavigationPageType;
index: number;
setItemLayout?: (x: number, index: number) => void;
}
declare const CategoryNavItem: ({ config, handlers, title, imageUrl, apiUrl, displayImage }: CategoryNavItemProps) => React.JSX.Element;
export default CategoryNavItem;