Created
May 14, 2020 18:01
-
-
Save nnance/0c00ed9b57d323b45081d2e29e21ecf2 to your computer and use it in GitHub Desktop.
Bootstrap Full Height React
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
function App() { | |
return ( | |
<Container fluid style={{ height: "100vh" }}> | |
<Row style={{ height: "100%" }}> | |
<Col | |
style={{ background: "yellow", height: "100%", paddingTop: "15px", paddingBottom: "15px" }} | |
> | |
Col 1 | |
</Col> | |
<Col style={{height: "100%", paddingTop: "15px", paddingBottom: "15px" }}> | |
<canvas | |
style={{ borderStyle: "solid", height: "100%", width: "100%" }} | |
></canvas> | |
</Col> | |
</Row> | |
</Container> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment