UploadHandler: ((file) => Promise<string>)

A function that uploads one file and returns the public URI.

Type declaration

    • (file): Promise<string>
    • Parameters

      • file: File

      Returns Promise<string>