Preparing search index...
The search index is not available
Lens SDK Reference
Lens SDK Reference
@lens-protocol/react-web
Core
UploadHandler
Type alias UploadHandler
Experimental
Upload
Handler
:
(
(
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
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Lens SDK Reference
@lens-protocol/react-web - v2.3.1
@lens-protocol/react-native - v2.3.1
@lens-protocol/client - v2.3.1
A function that uploads one file and returns the public URI.