使用简单的React包时出现错误 https://www.npmjs.com/package/simplebar-react
simplebar-react.esm.js:27未捕获的TypeError:Object(...)在updateForwardRef处的renderWithHooks(react-dom.development.js:14803)的simplebar-react.esm.js:27处不是函数(react-dom.development.js:16816)在Object.invokeGuardedCallbackDev(react-dom.development)的HTMLUnknownElement.callCallback(react-dom.development.js:188)的beginWork(react-dom.development.js:18645)上。 js:237)在workGuard同步(react-dom。 .development.js:22130)