gab-social/app/javascript/gabsocial/pages/explore_page.js

25 lines
510 B
JavaScript
Raw Normal View History

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>
)
}
}