Created
January 16, 2017 09:31
-
-
Save leefsmp/04a74bb4fdb6c513590cceed84038ccd to your computer and use it in GitHub Desktop.
Re-Flex vertical layout with triple 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 triple | |
// resizable splitter propagation | |
// | |
///////////////////////////////////////////////////////// | |
class ReflexSplitterPropagationDemo3x | |
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"> | |
<div className="pane-content"> | |
<label> | |
Middle Pane 1 (resizable) | |
</label> | |
</div> | |
</ReflexElement> | |
<ReflexSplitter propagate={true}/> | |
<ReflexElement className="middle-pane"> | |
<div className="pane-content"> | |
<label> | |
Middle Pane 2 (resizable) | |
</label> | |
</div> | |
</ReflexElement> | |
<ReflexSplitter propagate={true}/> | |
<ReflexElement className="right-pane"> | |
<div className="pane-content"> | |
<label> | |
Right Pane (resizable) | |
</label> | |
</div> | |
</ReflexElement> | |
</ReflexContainer> | |
) | |
} | |
} | |
ReactDOM.render(<ReflexSplitterPropagationDemo3x/>, | |
document.getElementById('demo-splitter-propagation-3x')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment