Png to svg

I need to replace the logo in a ui framework with my own logo, but the logo format of the ui framework is svg and my own logo is png

I would like to ask how to transfer png to svg
I would appreciate it if I asked God for advice.

attached: I found the code from svg to png online conversion on the Internet and put it in my code to report an error

Mar.10,2021

can't you directly change the src logo.svg of img to logo.png? I've changed antd's logo chart before, and that's how I changed it

.
Menu