Last active
January 16, 2017 09:30
-
-
Save leefsmp/679a1189c0e9922b8ff5d2f511dde523 to your computer and use it in GitHub Desktop.
Re-Flex vertical layout with double resizable splitter propagation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///////////////////////////////////////////////////////// | |
// Re-flex vertical layout with double | |
// resizable splitter propagation | |
// | |
///////////////////////////////////////////////////////// | |
class ReflexSplitterPropagationDemo2x | |
extends React.Component { | |
render () { | |
return ( | |
<ReflexContainer orientation="vertical"> | |
<ReflexElement className="left-pane"> | |
<div className="pane-content"> | |
<label> | |
Left Pane (resizable) | |
</label> | |
</div> | |
</ReflexElement> | |
<ReflexSplitter propagate={true}/> | |
<ReflexElement className="middle-pane" | |
minSize="200" | |
maxSize="800"> | |
<div className="pane-content"> | |
<label> | |
Middle Pane (resizable) | |
<br/> | |
<br/> | |
minSize = 200px | |
<br/> | |
maxSize = 400px | |
</label> | |
</div> | |
</ReflexElement> | |
<ReflexSplitter propagate={true}/> | |
<ReflexElement className="right-pane"> | |
<div className="pane-content"> | |
<label> | |
Right Pane (resizable) | |
</label> | |
</div> | |
</ReflexElement> | |
</ReflexContainer> | |
) | |
} | |
} | |
ReactDOM.render(<ReflexSplitterPropagationDemo2x/>, | |
document.getElementById('demo-splitter-propagation-2x')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment