{"size": 415, "ext": "js", "max_stars_repo_path": "components/Page/index.js", "max_stars_repo_name": "richardblondet/react-giphy-client", "max_stars_repo_stars_event_min_datetime": "2018-12-29T17:37:25.000Z", "max_stars_repo_stars_event_max_datetime": "2018-12-29T17:37:25.000Z", "max_issues_repo_path": "components/Page/index.js", "max_issues_repo_name": "richardblondet/react-giphy-client", "max_issues_repo_issues_event_min_datetime": "2021-03-08T23:53:43.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-12T05:20:20.000Z", "max_forks_repo_path": "components/Page/index.js", "max_forks_repo_name": "richardblondet/react-giphy-client", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 5, "max_forks_count": null, "avg_line_length": 15.9615384615, "max_line_length": 45, "alphanum_fraction": 0.6265060241}
import { Component }  from 'react'
import Head from './head'
import ScrollToTop from '../ScrollToTop'

/**
 * Higher compoent for simple page control
 */
export default class Page extends Component {
	
	constructor( props ) {
		super( props )
	}
	
	render() {
		
		const { children, title } = this.props

		return (
			<React.Fragment>
				<Head />
				{ children }
				<ScrollToTop />
			</React.Fragment>
		)
	}
}