• Preparing search index...
  • The search index is not available
XYO Platform React SDK - v4.1.8
  • XYO Platform React SDK
  • @xyo-network/react-form-credit-card
  • useCreditCardCvvFormControl

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>)
        • new (): FormControlBase<StandardTextFieldProps>
        • Returns FormControlBase<StandardTextFieldProps>

    Returns {
        creditCardFormControl: undefined | FormControlBase<StandardTextFieldProps>;
        error: string;
        inputRef: RefObject<HTMLInputElement>;
        value: ValidControlValue;
    }

    • creditCardFormControl: undefined | FormControlBase<StandardTextFieldProps>
    • error: string
    • inputRef: RefObject<HTMLInputElement>
    • value: ValidControlValue
    • Defined in packages/sdk/packages/form/packages/credit-card/src/components/controls/card/cvv/use.ts:9

Settings

Member Visibility
XYO Platform React SDK - v4.1.8
  • Loading...

Generated using TypeDoc