How to add accessibility attributes to an SVG imported as a ReactComponent in Create React App?

后端 未结 0 623
暖寄归人
暖寄归人 2021-02-08 19:49

I have imported an SVG image in my CRA app as follows:

import { ReactComponent as MyIcon } from \'./my-icon.svg\';

functio         


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