Created
June 1, 2020 15:27
-
-
Save neenhouse/8b8db44859922ff90639098acb44e9cf to your computer and use it in GitHub Desktop.
Federated AppShell
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'; | |
import App from './App'; | |
import PropTypes from 'prop-types'; | |
function StandardLayout({title, children}) { | |
return <App title={title}>{children}</App>; | |
} | |
StandardLayout.propTypes = { | |
title: PropTypes.string, | |
children: PropTypes.Any | |
}; | |
export default StandardLayout; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment