gab-social/app/javascript/gabsocial/pages/news_page.js
mgabdev 64ea4c5675 Updated News feature, NewsPage with new design, features
• Updated:
- News feature, NewsPage with new design, features

• Todo:
- Complete functionality in both News, NewsView for mobile and expanding rss feeds, lazy loading
2020-11-06 23:34:23 -06:00

26 lines
506 B
JavaScript

import React from 'react'
import PropTypes from 'prop-types'
import PageTitle from '../features/ui/util/page_title'
import NewsLayout from '../layouts/news_layout'
class NewsPage extends React.PureComponent {
render() {
const { children } = this.props
return (
<NewsLayout>
<PageTitle path='News' />
{children}
</NewsLayout>
)
}
}
NewsPage.propTypes = {
children: PropTypes.node.isRequired,
title: PropTypes.string.isRequired,
}
export default NewsPage