Created
December 8, 2019 14:06
-
-
Save henev/af0440bd769b6aaabbf9cbcfd9a086b6 to your computer and use it in GitHub Desktop.
[React Router Layouts] Layouts
This file contains 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'; | |
const LayoutOne = ({children}) => | |
<div> | |
<h2>Layout One</h2> | |
{children} | |
</div>; | |
const LayoutTwo = ({children}) => | |
<div> | |
<h2>Layout Two</h2> | |
{children} | |
</div>; | |
export { LayoutOne, LayoutTwo }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment