How to pass imported module in default props in reactJs

前端 未结 0 624
无人共我
无人共我 2020-12-21 22:14

I want to import Avatar svg and try to provide it to default props, I don\'t know is it the right way to do that as it\'s not working with below code

import A         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题