Closed AmruthPillai closed 10 months ago
Similarly, I'm getting this error as well.
Very sorry. Looks like I missed a docs update. The API is now isCollapsed()
(or isExpanded()
if you prefer). I will update the docs this morning.
react-resizable-panels@0.0.58 has been published with this fix
Thank you for your continued support on the library, it's works great for my use-case!
Happy to hear it!
I was depending on the
getCollapsed
getter function to toggle whether or not the panel should be triggered. But I see that it has been removed in the later versions. Is there an alternative for this, or should I downgrade for now?