Closed mattany closed 2 years ago
I am running into the same issue 🥲
I started getting this warning after upgrading to React 18. The overlay still works OK.
Edit: Looks to be a duplicate of #56
Edit: Looks to be a duplicate of #56
Yes, I believe you are right. Closing this one.
Getting the following warning when using the overlay. The overlay and content work fine but the warning appears still.
"Warning: Failed prop type: LoadingOverlayWrapper: prop type
styles.content
is invalid; it must be a function, usually from theprop-types
package, but receivedundefined
."Steps to reproduce: Try using an overlay with content (as in the examples given in the docs). This happens both when the content property is a function, or an object