• 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
  • useCreditCardFormControl

Function useCreditCardFormControl

  • useCreditCardFormControl(formControlName?, Control?, args?): {
        creditCardFormControl: undefined | FormControlBase<StandardTextFieldProps>;
        error: string;
        inputRef: RefObject<HTMLInputElement>;
        value: ValidControlValue;
    }
  • Parameters

    • OptionalformControlName: string
    • OptionalControl: (new (...args: any[]) => FormControlBase<StandardTextFieldProps>)
        • new (...args): FormControlBase<StandardTextFieldProps>
        • Parameters

          • Rest...args: any[]

          Returns FormControlBase<StandardTextFieldProps>

    • args: any[] = STABLE_DEFAULT_ARGS

    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/useCreditCardFormControl.tsx:12

Settings

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

Generated using TypeDoc