gengitkan/client/src/components/Page.jsx

13 lines
241 B
React
Raw Normal View History

2019-11-28 14:12:48 +01:00
import React from 'react';
2019-12-01 22:12:13 +01:00
import { Navbar } from './Navbar';
2019-11-28 14:12:48 +01:00
export class Page extends React.Component {
render() {
return (
2019-12-01 22:12:13 +01:00
<React.Fragment>
<Navbar />
{this.props.children}
</React.Fragment>
2019-11-28 14:12:48 +01:00
);
}
}