omnipay-savings-sdk
Version:
Omnipay Savings SDK
49 lines (48 loc) • 2.36 kB
TypeScript
import React, { ReactNode } from 'react';
import { StyleProp, ViewStyle } from 'react-native';
interface CurrencyInputProps {
value: string | number | null | undefined;
onChange?: (text: string) => void;
onChangeValue?: (value: number | React.SetStateAction<string> | null) => void;
separator: string;
delimiter: string;
unit?: string;
precision?: number;
maxValue?: number;
minValue?: number;
ignoreNegative?: boolean;
containerStyle?: any;
wrapperStyle?: StyleProp<ViewStyle>;
label: any;
bottomLabel?: any;
placeholder: any;
inputStyle?: any;
prependComponent?: any;
appendComponent?: any;
onEndEditing?: any;
onFocus?: any;
secureTextEntry?: any;
keyboardType?: 'default' | 'email-address' | 'numeric' | 'phone-pad' | 'number-pad' | 'decimal-pad' | undefined;
autoCompleteType?: 'off' | 'birthdate-day' | 'birthdate-full' | 'birthdate-month' | 'birthdate-year' | 'cc-csc' | 'cc-exp' | 'cc-exp-day' | 'cc-exp-month' | 'cc-exp-year' | 'cc-number' | 'email' | 'gender' | 'name' | 'name-family' | 'name-given' | 'name-middle' | 'name-middle-initial' | 'name-prefix' | 'name-suffix' | 'password' | 'password-new' | 'postal-address' | 'postal-address-country' | 'postal-address-extended' | 'postal-address-extended-postal-code' | 'postal-address-locality' | 'postal-address-region' | 'postal-code' | 'street-address' | 'sms-otp' | 'tel' | 'tel-country-code' | 'tel-national' | 'tel-device' | 'username' | 'username-new' | 'off' | undefined;
autoCapitalize?: 'none' | undefined;
errorMsg?: string | ReactNode | undefined;
multiline?: boolean | undefined;
numberOfLines?: number;
maxLength?: number;
isLoading?: boolean;
returnKeyLabel?: string;
returnKeyType?: 'done' | 'go' | 'next' | 'search' | 'send';
editable?: boolean;
topComponent?: any;
onPressUseAllBalance?: () => void;
balance?: number;
showUseAllBalance?: boolean;
walletAmount?: number;
paymentAmount?: number;
showAsterisk?: boolean;
showCurrency?: boolean;
hideBalance?: boolean;
}
export declare const CurrencyInputBase: React.ForwardRefExoticComponent<CurrencyInputProps & React.RefAttributes<any>>;
declare const _default: React.ForwardRefExoticComponent<CurrencyInputProps & React.RefAttributes<any>>;
export default _default;