Interface FormProps

Hierarchy

  • FormProps

Properties

getData: (() => Promise<FieldValues>)

Type declaration

    • (): Promise<FieldValues>
    • Returns Promise<FieldValues>

getTouchedFields: (() => Promise<string[]>)

Type declaration

    • (): Promise<string[]>
    • Returns Promise<string[]>

onSubmit: ((e, isValid, values) => void)

Type declaration

    • (e, isValid, values): void
    • Parameters

      • e: FormEvent<HTMLFormElement>
      • isValid: boolean
      • values: FieldValues

      Returns void

setData: ((newData) => Promise<void>)

Type declaration

    • (newData): Promise<void>
    • Parameters

      • newData: FieldValues

      Returns Promise<void>

setIsValid: ((value) => void)

Type declaration

    • (value): void
    • Parameters

      • value: boolean

      Returns void

setTouchedFields: ((newTouchedFields) => Promise<void>)

Type declaration

    • (newTouchedFields): Promise<void>
    • Parameters

      • newTouchedFields: string[]

      Returns Promise<void>

Generated using TypeDoc