Running into error: getPanelStyle is not a function #379
Replies: 1 comment 2 replies
-
Hey @AbhinavChede. Need you to share a repro with me so I can look. This sounds like it's probably something to do with your project configuration (dependency management, bundling, or something) but I can't say. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I am relatively new to React and I wanted to use some of the cool features this project offered. After installing this module , I tried running some of the code that is available on the website. I copy pasted the code for Horizontal Layouts and Vertical Layouts. However, when I run my App.js file, I encounter an error that says "getPanelStyle is not a function".
After searching a little more, I see that line 161 in this file "react-resizable-panels.browser.development.esm.js" is causing the error. I am using Version 2.0.22 of this library and React v18.3.
I am not sure how to solve this roadblock. Any help would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions