react-split-pane
react-split-pane copied to clipboard
initial size and other options not working.
Describe the bug
A clear and concise description of what the bug is. Setting options like minSize and initialSize doesn't work.
To Reproduce
Type this in your code
<SplitPane>
<Pane initialSize="60%" minSize="20%" maxSize="20%">
This Pane has initial size of 60%
</Pane>
</SplitPane>
Steps to reproduce the behavior:
Post a link to a CodeSandbox. You can start by forking this one. https://codesandbox.io/s/react-split-pane-base-sandbox-forked-lg9ys?file=/src/index.js
Expected behavior
A clear and concise description of what you expected to happen. The options should be working
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
you also have typos in http://react-split-pane-v2.surge.sh/?MaxPxVerticalExample and some other
Can confirm, components and props mentioned in the v2 docs do not work. Typescript does not even show Pane as an exposed component. @tomkp do you have plans to resume work on this highly incredible library? v2 seems nearly complete based on the functionality on the documentation. Do you know how much effort remains to take this package to the finish line?