@open-tender/ui
Version:
A component library for use with the Open Tender web app
14 lines (13 loc) • 382 B
TypeScript
import { Discount } from '@open-tender/types';
import { ReactNode } from 'react';
import { Handlers, ScreenConfig } from '../types';
export interface LoyaltyDiscountProps {
config: ScreenConfig;
cardConfig: ScreenConfig;
handlers: Handlers;
discount: Discount;
isApplied: boolean;
isLast?: boolean;
renderApplied?: () => ReactNode;
apiUrl: string;
}