Image require(url) from object doesn't display in React

后端 未结 0 1209
-上瘾入骨i
-上瘾入骨i 2021-01-02 20:54

In Data.js I have this object with few props:

export const DataInfo = {
    image: require(\'../../assets/internet-marketing.svg\'),
    alt: \'internet marke         


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