Formwright
    Preparing search index...
    UploadFn: (file: UploadFile) => Promise<unknown>

    Uploads a file the user chose, and resolves with what the field stores (an id, a URL, ...).

    Type Declaration

      • (file: UploadFile): Promise<unknown>
      • Parameters

        • file: UploadFile

        Returns Promise<unknown>