Skip to content

Instantly share code, notes, and snippets.

@neenhouse
Created June 1, 2020 15:27
Show Gist options
  • Save neenhouse/8b8db44859922ff90639098acb44e9cf to your computer and use it in GitHub Desktop.
Save neenhouse/8b8db44859922ff90639098acb44e9cf to your computer and use it in GitHub Desktop.
Federated AppShell
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