Last active
June 5, 2018 05:49
-
-
Save leefsmp/bf5400d3fcaf58dbac5d7cf36f6e8133 to your computer and use it in GitHub Desktop.
Handle ReFlex demo
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 handle element demo | |
// | |
///////////////////////////////////////////////////////// | |
class ReflexHandleDemo | |
extends React.Component { | |
render () { | |
return ( | |
<ReflexContainer orientation="horizontal"> | |
<ReflexElement minSize={36}> | |
<div className="handle"> | |
Top Pane Header | |
</div> | |
<div className="pane-content"> | |
<label> | |
Top Pane | |
</label> | |
</div> | |
</ReflexElement> | |
<ReflexSplitter/> | |
<ReflexElement minSize={36}> | |
<ReflexHandle className="handle"> | |
Bottom Pane Header: I am a draggable handle! | |
Drag me to resize ... | |
</ReflexHandle> | |
<div className="pane-content"> | |
<label> | |
Bottom Pane | |
</label> | |
</div> | |
</ReflexElement> | |
</ReflexContainer> | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment