Created
January 4, 2020 17:04
-
-
Save ryanjyost/6a7649e49209c1ec1ac5c08dfd3902c8 to your computer and use it in GitHub Desktop.
React routing tutorial - 2
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
| import React from "react"; | |
| function App() { | |
| return ( | |
| <div style={{ display: "flex", height: "100vh", alignItems: "stretch" }}> | |
| <div style={{ flex: 0.3, backgroundColor: "#f2f2f2" }}>route menu</div> | |
| <div>content</div> | |
| </div> | |
| ); | |
| } | |
| export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment