"require('./image.png')" not working
Closed this issue · 1 comments
lucaszdev commented
I need use "require('./image.png')" into images Attribute, but stay only black screen when I open the Viewer, is not possible use something like this: "images={require('./image1.png')}" ??
lucaszdev commented
the response is: put on a "[]" you will have something like this:
Before:
images={require('./image1.png')}
After:
images={[require('./image1.png')]}
This will work!