UNPKG

@open-tender/utils

Version:

A library of utils for use with Open Tender applications that utilize our cloud-based Order API.

19 lines (18 loc) 619 B
import { CartItemGroup, ConfigDisplaySetting } from '@open-tender/types'; export declare const useModifierGroup: (group: CartItemGroup, displaySettings?: ConfigDisplaySetting) => { description: string | null; count: string; id: number; imageUrl: string | null; appImageUrl?: string | null | undefined; included: number; isPizza: boolean; isSize: boolean; max: number; min: number; name: string; options: import("@open-tender/types").CartItemOptions; quantity: number; itemShape: import("@open-tender/types").PizzaShape | null; excludeFromBuilder: boolean; };