gab-social/app/javascript/gabsocial/pages/explore_page.js
mgabdev 0a26abbbc2 Updated Explore, Group, Groups Pages
• Updated:
- Explore, Group, Groups Pages
2020-08-06 00:13:19 -05:00

25 lines
510 B
JavaScript

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