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

24 lines
563 B
JavaScript
Raw Normal View History

2020-02-22 23:26:23 +00:00
import { Fragment } from 'react'
import LinkFooter from '../components/link_footer'
2020-03-02 22:26:25 +00:00
import SearchFilterPanel from '../components/panel/search_filter_panel'
2020-02-24 21:56:07 +00:00
import SearchLayout from '../layouts/search_layout'
2019-07-02 08:10:25 +01:00
export default class SearchPage extends PureComponent {
render() {
2020-02-22 23:26:23 +00:00
const { children } = this.props
return (
2020-03-02 22:26:25 +00:00
<SearchLayout
layout={(
<Fragment>
<SearchFilterPanel />
<LinkFooter />
</Fragment>
)}
showBackBtn
>
2020-02-22 23:26:23 +00:00
{children}
</SearchLayout>
)
}
2020-02-22 23:26:23 +00:00
}