@monei-js/components
Version:
MONEI UI Components enable you to collect sensitive payment information using customizable UI components.
22 lines (21 loc) • 593 B
TypeScript
export interface GooglePayProps {
accountId?: string;
sessionId?: string;
paymentId?: string;
amount?: number;
currency?: string;
language?: string;
onError?: (error: any) => void;
onProps?: (cb: (props: GooglePayProps) => void) => void;
onSubmit: (data: {
token?: string;
error?: string;
}) => void;
onBeforeSubmit: () => void;
onLoad?: (isSupported: boolean) => void;
style?: {
height?: number;
color?: 'default' | 'black' | 'white';
type?: 'buy' | 'plain' | 'donate';
};
}