UNPKG

@open-tender/ui

Version:

A component library for use with the Open Tender web app

13 lines (12 loc) 494 B
import { Customer, LoyaltyProgram } from '@open-tender/types'; import React, { ReactNode } from 'react'; import { Handlers, ScreenConfig } from '../types'; export interface AccountLoyaltyProps { config: ScreenConfig; handlers: Handlers; account: Customer; loyaltyProgram: LoyaltyProgram; renderRewards: () => ReactNode; } declare const AccountLoyalty: ({ config, handlers, account, loyaltyProgram }: AccountLoyaltyProps) => React.JSX.Element; export default AccountLoyalty;