@open-tender/ui
Version:
A component library for use with the Open Tender web app
13 lines (12 loc) • 402 B
TypeScript
import { Discount } from '@open-tender/types';
import React from 'react';
import { ScreenConfig } from '../types';
export interface DiscountProps {
config: ScreenConfig;
cardConfig: ScreenConfig;
discount: Discount;
apiUrl: string;
isSmall?: boolean;
}
declare const Discount: ({ config, discount, cardConfig, apiUrl }: DiscountProps) => React.JSX.Element;
export default Discount;