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) 351 B
import { Discount as DiscountType } from '@open-tender/types'; import { DiscountProps } from '@open-tender/ui'; import { ReactNode } from 'react'; declare const Discount: ({ discount, children, isSmall }: { discount: DiscountType; children: (props: DiscountProps) => ReactNode; isSmall?: boolean; }) => ReactNode; export default Discount;