react-game-kit icon indicating copy to clipboard operation
react-game-kit copied to clipboard

Sprite Src Issue In RN

Open micahkatz opened this issue 8 years ago • 2 comments

I am using React Native and I am making a game with this library. When I made a sprite, it came up with this warning, but the sprite shows up and works completely fine. It is more of an annoyance with the ugly yellow warning image

-- I have tried src={'../../images/sampleimage.png'} and it seems to make the error go away but the image isn't there. Here is my code => image

micahkatz avatar Dec 21 '17 20:12 micahkatz

Hi katzmannn,

You'll need to remove the brackets. Should look like: src="../../images/sampleimage.png"

DevonYarbrough avatar Jan 13 '18 20:01 DevonYarbrough

Hi katzmannn, I made a pull request. This can help.

eavam avatar Feb 16 '18 14:02 eavam