Function useCreditCardCvvFormControl
- useCreditCardCvvFormControl(formControlName?, cardNumberControlName?, control?): {
creditCardFormControl: undefined | FormControlBase<StandardTextFieldProps>;
error: string;
inputRef: RefObject<HTMLInputElement>;
value: ValidControlValue;
} Parameters
OptionalformControlName: string- cardNumberControlName: string = 'cardNumber'
Optionalcontrol: (new () => FormControlBase<StandardTextFieldProps>)
Returns {
creditCardFormControl: undefined | FormControlBase<StandardTextFieldProps>;
error: string;
inputRef: RefObject<HTMLInputElement>;
value: ValidControlValue;
}
creditCardFormControl: undefined | FormControlBase<StandardTextFieldProps>
error: string
inputRef: RefObject<HTMLInputElement>