|
I'm working on a component with a simple horizontal group with two panels: a Basically, I'd like to add a prop called
When using Thanks a lot for this amazing, feature-full and modern library 🫶 |
Replies: 1 comment 2 replies
It sounds like you just don’t want to use the persisted layout? You don’t have to use that hook. That’s only if you want the last layout to be restored, which it sounds like you don’t. Just set the Panel’s defaultSize to be whatever its collapsedSize is and you should be good to go 🙂 |
It sounds like you just don’t want to use the persisted layout? You don’t have to use that hook. That’s only if you want the last layout to be restored, which it sounds like you don’t.
Just set the Panel’s defaultSize to be whatever its collapsedSize is and you should be good to go 🙂