Skip to content

networkName React warning #574

@zkenny

Description

@zkenny

I get the following warning from React using the FacebookShareButton component:

Warning: React does not recognize the networkNameprop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercasenetworknameinstead. If you accidentally passed it from a parent component, remove it from the DOM element.

Here is my code:

                        <FacebookShareButton
                            className="social-button"
                            url={BASE_URL + pngImageUrl}
                        >
                            <FacebookIcon size={30} round />
                        </FacebookShareButton>

I tried upgrading to the newest version. Is there something I can do to get rid of this warning?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions