Vertical Filled Container
A container-component that will take the full vertical space, and resize with the window.
import VerticalFilledContainer from 'patchkit-vertical-filled' <VerticalFilledContainer> This container will extend to the bottom of the screen even when you resize</VerticalFilledContainer>
You can use the decorator to add the behavior to another component.
This is the actual definition of <VerticalFilledContainer>
:
import verticalFilled from 'patchkit-vertical-filled' Component { var style = position: 'relative' overflow: 'auto' if thispropsheight styleheight = thispropsheight if thispropsstyle && typeof thispropsstyle == 'object' for var k in thispropsstyle stylek = thispropsstylek return <div ="vertical-filled" =>thispropschildren||''</div> }var VerticalFilledContainer =