You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a React component (using the MUIv5 styling framework) that works prior to my attempt to incorporate ReactImageUploading.
I have wrapped the (functional) component in ReactImageUploading as per the example code. When the code attempts to render this change, the result is Uncaught TypeError TypeError: children is not a function error.
The failing code is in the index.js component of react-images-uploading.
Uncaught TypeError TypeError: children is not a function
at ReactImageUploading (/home/tms/frontend/browser/node_modules/react-images-uploading/dist/index.js:224:1)
at renderWithHooks (/home/tms/frontend/browser/node_modules/react-dom/cjs/react-dom.development.js:14985:1)
at mountIndeterminateComponent (/home/tms/frontend/browser/node_modules/react-dom/cjs/react-dom.development.js:17811:1)
at beginWork (/home/tms/frontend/browser/node_modules/react-dom/cjs/react-dom.development.js:19049:1)
at callCallback (/home/tms/frontend/browser/node_modules/react-dom/cjs/react-dom.development.js:3945:1)
at invokeGuardedCallbackDev (/home/tms/frontend/browser/node_modules/react-dom/cjs/react-dom.development.js:3994:1)
at invokeGuardedCallback (/home/tms/frontend/browser/node_modules/react-dom/cjs/react-dom.development.js:4056:1)
at beginWork$1 (/home/tms/frontend/browser/node_modules/react-dom/cjs/react-dom.development.js:23964:1)
at performUnitOfWork (/home/tms/frontend/browser/node_modules/react-dom/cjs/react-dom.development.js:22776:1)
at workLoopSync (/home/tms/frontend/browser/node_modules/react-dom/cjs/react-dom.development.js:22707:1)
I'm using React v17.0.1.
The text was updated successfully, but these errors were encountered:
I have a React component (using the MUIv5 styling framework) that works prior to my attempt to incorporate ReactImageUploading.
I have wrapped the (functional) component in
ReactImageUploading
as per the example code. When the code attempts to render this change, the result isUncaught TypeError TypeError: children is not a function
error.The failing code is in the
index.js
component ofreact-images-uploading
.Here is the way I attempt to use the component:
Here is the specific complaint:
I'm using React v17.0.1.
The text was updated successfully, but these errors were encountered: