Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Split Pane v2 - simplified API #240
This PR is for a new v2 of
Try it out today:
The intention is to simplify the API by allowing Panes within the SplitPane to take
I'm happy for any / all contributions!
Some things todo (in no particular order)
You'll probably want to:
I hit some bugs with the minSize, and I think this code right here needs rethinking / optimisation:
Currently when the parent re-renders, the pane-sizes reset to default.
@tsaiDavid Yes! I'd love some help :-)
I'll have a think about what would be most useful - but off the top of my head I think that I was keen to get the ability to listen on events working.