'how to submit a image with react-firebase-form in firebase?

const [photo,setPhot]=useState('') photo setPhoto(e.target.value)}/> const handleFormOnSubmit=e=>{ updateProfile({photoURL:photo})

const [photo,setPhot]=useState('')
<input type=photoURL
       value=photo
       onchange={(e)=>setPhoto(e.target.value)}/>
const handleFormOnSubmit=e=>{
updateProfile({photoURL:photo})


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source