From 17737797d324ff6425f1037da0ad5c70c579efa4 Mon Sep 17 00:00:00 2001
From: Arthur Tkachenko <arthur.tkachenko.netweight@gmail.com>
Date: Mon, 20 Sep 2021 10:22:48 +0300
Subject: [PATCH] Create Center.jsx

---
 src/Center.jsx | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 src/Center.jsx

diff --git a/src/Center.jsx b/src/Center.jsx
new file mode 100644
index 0000000..ed0991b
--- /dev/null
+++ b/src/Center.jsx
@@ -0,0 +1,10 @@
+export const Center: FunctionComponent<CenterProps> = ({
+  children,
+  className
+}: CenterProps): React.ReactElement => (
+  <table cellSpacing="0" cellPadding="0" className={className}>
+    <tr>
+      <td align="center">{children}</td>
+    </tr>
+  </table>
+)