From 22bf08328d56852969d5f1dc98561554aea98d3c Mon Sep 17 00:00:00 2001
From: lonkaars <l.leblansch@gmail.com>
Date: Tue, 5 Jan 2021 09:44:56 +0100
Subject: CenteredPage toegevoegd

---
 src/components/page.tsx | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 src/components/page.tsx

(limited to 'src/components/page.tsx')

diff --git a/src/components/page.tsx b/src/components/page.tsx
new file mode 100644
index 0000000..03a6fbc
--- /dev/null
+++ b/src/components/page.tsx
@@ -0,0 +1,14 @@
+import { Component, CSSProperties } from 'react';
+
+var CenteredPageStyle: CSSProperties = {
+	maxWidth: 783,
+	margin: "0 auto"
+}
+
+export class CenteredPage extends Component {
+	render () {
+		return <div style={CenteredPageStyle}>
+			{this.props.children}
+		</div>
+	}
+}
-- 
cgit v1.2.3

