17
app/components/Layout/LayoutContent.js
Executable file
17
app/components/Layout/LayoutContent.js
Executable file
@@ -0,0 +1,17 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
const LayoutContent = (props) => (
|
||||
<div className="layout__content">
|
||||
{ props.children }
|
||||
</div>
|
||||
);
|
||||
|
||||
LayoutContent.propTypes = {
|
||||
children: PropTypes.node
|
||||
};
|
||||
LayoutContent.layoutPartName = "content";
|
||||
|
||||
export {
|
||||
LayoutContent
|
||||
};
|
Reference in New Issue
Block a user