omnipay-savings-sdk
Version:
Omnipay Savings SDK
24 lines (23 loc) • 740 B
TypeScript
import React from 'react';
interface CommonSavingsFieldsProps {
savingsColor: string;
onColorChange: (color: string) => void;
colorError?: string;
primaryColor: string;
name: string;
onNameChange: (name: string) => void;
nameError?: string;
amount: string;
onAmountChange: (amount: number) => void;
amountError?: string;
amountLabel?: string;
showAmountField?: boolean;
walletBalance?: number;
showBalance?: boolean;
isLoadingBalance?: boolean;
onColorLayout?: (event: any) => void;
onNameLayout?: (event: any) => void;
onAmountLayout?: (event: any) => void;
}
declare const CommonSavingsFields: React.FC<CommonSavingsFieldsProps>;
export default CommonSavingsFields;