@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
10 lines (9 loc) • 441 B
TypeScript
import { ErrorMessageProps, KeypadProps, PromoCodeProps } from '@open-tender/ui';
import React, { ReactNode } from 'react';
declare const PromoCode: ({ close, children, KeypadView, ErrorMessageView }: {
close: () => void;
children: (props: PromoCodeProps) => ReactNode;
KeypadView: (props: KeypadProps) => ReactNode;
ErrorMessageView: (props: ErrorMessageProps) => ReactNode;
}) => React.ReactNode;
export default PromoCode;