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

Unknown prop backgroundImage on <div> tag #32

Open
chrismwendt opened this issue Jul 29, 2017 · 0 comments
Open

Unknown prop backgroundImage on <div> tag #32

chrismwendt opened this issue Jul 29, 2017 · 0 comments

Comments

@chrismwendt
Copy link

Use of {... this.props} is causing this error in the browser console:

Unknown prop `backgroundImage` on <div> tag

From https://facebook.github.io/react/warnings/unknown-prop.html

Are you using {...this.props} or cloneElement(element, this.props)? Your component is transferring its own props directly to a child element (eg. https://facebook.github.io/react/docs/transferring-props.html). When transferring props to a child component, you should ensure that you are not accidentally forwarding props that were intended to be interpreted by the parent component.

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