derrickpelletier / react-loading-overlay

Loading overlays with fade, spinner, message support.
MIT License
256 stars 84 forks source link

Fix the "Failed prop type" warning generated by prop-types' checkProp… #57

Open janis-github opened 2 years ago

janis-github commented 2 years ago

…Types

raw warning: Failed prop type: LoadingOverlayWrapper: prop type 'styles.content' is invalid; it must be a function, usually from the 'prop-types' package, but received 'undefined'

fixes the issue: https://github.com/derrickpelletier/react-loading-overlay/issues/56

albeiroespitia commented 2 years ago

+1

ArekMiszcz commented 2 years ago

+1

dalmau commented 2 years ago

+1

singleseeker commented 2 years ago

Good job , plz merge this pr, @derrickpelletier

bordernone commented 2 years ago

please merge this.

rcapulong commented 2 years ago

+1 thanks!

alexnatea commented 2 years ago

I would be very grateful if you merge this resolved issue. Thank you guys!

johnnyaug commented 2 years ago

Thanks!

janis-github commented 2 years ago

Obviously this repo is dead... Here is a simple one-liner workaround:

import LoadingOverlay from "react-loading-overlay"
LoadingOverlay.propTypes = undefined
Earthwormzim commented 2 years ago

Package "@ronchalant/react-loading-overlay" doesn't appear to have this issue.

njaniintel commented 2 years ago

Please merge this

FreelanceDev217 commented 2 years ago

Seriously, this repo is dead. move to https://github.com/paypal/react-paypal-js.

adamcarrollsimfy commented 6 months ago

Please merge waiting on this 🙏