Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Sprite Src Issue In RN #58

Open
Open

Description

@micahkatz

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

Activity

  1. DevonYarbrough commented on Jan 13, 2018

    @DevonYarbrough

    Hi katzmannn,

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

  2. eavam commented on Feb 16, 2018

    @eavam

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions