I am designing a project pwa. In this project, React, TypeScript and ant design are used. I need to use a place to place the avatar inside its dashboard. I have to use Avatar Upload ant design. There are explanations in the api of this component, but I could not implement this correctly with them. I searched on the internet and YouTube, but I did not find a suitable one.
Do you know a tutorial on how to insert a user image using Avatar Upload that you can introduce to me? Especially training for getBase64, beforeUpload and handleChange. I would be grateful if you could guide me.