@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
12 lines (11 loc) • 484 B
TypeScript
import { LoyaltyProgram } from '@open-tender/types';
import { AccountLoyaltyProps } from '@open-tender/ui';
import { ReactNode } from 'react';
declare const AccountLoyalty: ({ loyaltyProgram, navigate, children, renderRewards, navigateTo }: {
loyaltyProgram: LoyaltyProgram;
navigate: (route: string) => void;
children: (props: AccountLoyaltyProps) => ReactNode;
renderRewards: () => ReactNode;
navigateTo?: string;
}) => ReactNode;
export default AccountLoyalty;