@open-tender/ui
Version:
A component library for use with the Open Tender web app
11 lines (10 loc) • 343 B
TypeScript
import { Discount, Discounts } from '@open-tender/types';
import { ReactNode } from 'react';
import { ScreenConfig } from '../types';
export interface LoyaltyDiscountsProps {
config: ScreenConfig;
title: string;
subtitle?: string;
discounts: Discounts;
renderDiscount: (discount: Discount, isLast: boolean) => ReactNode;
}