upload pdf via firebase storage react code example
Example: upload image in firebase storage react web
const uploadTask = storage.ref(`/images/${imageAsFile.name}`).put(imageAsFile)
const uploadTask = storage.ref(`/images/${imageAsFile.name}`).put(imageAsFile)