I follow this tutorial, but my react component did not compile styleName correct. 'styleName' was changed to 'stylename'.
React throw the error below:
Warning: React does not recognize thestyleNameprop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercasestylenameinstead. If you accidentally passed it from a parent component, remove it from the DOM element.
I follow this tutorial, but my react component did not compile styleName correct. 'styleName' was changed to 'stylename'.
React throw the error below:
Warning: React does not recognize the
styleNameprop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase
stylenameinstead. If you accidentally passed it from a parent component, remove it from the DOM element.