react-sticky-box
react-sticky-box copied to clipboard
Functions are not valid as a React
i was trying to install react-sticky-box with my react 18.2 ,next 13.0.2 project, i get errors
Warning: Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it. at div at div at div at StickyBox (webpack-internal:///./node_modules/react-sticky-box/dist/index.js:258:20)
Are you potentially using it as <div>{StickyBox}</div> (or some variant) rather than <div><StickyBox/></div>?
thanks you