Closed mail2chuka closed 6 months ago
when i use the clduploadbutton, how do i get back the public url of the submitted file?
hey @mail2chuka you can get it using the onSuccess callback like this:
onSuccess
<CldUploadButton onSuccess={(result) => console.log(result.info.secure_url)} />
when i use the clduploadbutton, how do i get back the public url of the submitted file?