gab-social/app/javascript/gabsocial/pages/explore_page.js
mgabdev 014e476b5d Updated pages, layout component structures
• Updated:
- pages, layout component structures
2020-08-14 12:45:59 -05:00

24 lines
482 B
JavaScript

import PageTitle from '../features/ui/util/page_title'
import ExploreLayout from '../layouts/explore_layout'
class ExplorePage extends PureComponent {
render() {
const { children, title } = this.props
return (
<ExploreLayout title={title}>
<PageTitle path={title} />
{children}
</ExploreLayout>
)
}
}
ExplorePage.propTypes = {
title: PropTypes.string.isRequired,
children: PropTypes.node.isRequired,
}
export default ExplorePage