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

10 lines (9 loc) 375 B
import { CartItemGroup } from '@open-tender/types'; import { ItemSizeProps } from '@open-tender/ui'; import { ReactNode } from 'react'; declare const ItemSize: ({ sizeGroup, toggleSize, children }: { sizeGroup?: CartItemGroup | null; toggleSize: (optionId: number) => void; children: (props: ItemSizeProps) => ReactNode; }) => ReactNode; export default ItemSize;