Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proptypes throws error on src #5

Open
M1sterPl0w opened this issue Apr 17, 2019 · 0 comments
Open

Proptypes throws error on src #5

M1sterPl0w opened this issue Apr 17, 2019 · 0 comments

Comments

@M1sterPl0w
Copy link

Hello,

I was following your readme. When I adding a image like this:

import Img from "react-image-holder;

<Img 
src="blabla.jpg"
width="200"
height="200"
className="blabla"
usePlaceholder={true}/>

I got the following error: https://i.imgur.com/5HUIXbZ.png

Also I find it cumbersome to add a source for a placeholder.

Kind regards,

Jeroen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant