From 0f1009bf0ab0c79f480e8160a796d59e36d522fb Mon Sep 17 00:00:00 2001
From: Joseph Ditton <jditton.atomic@gmail.com>
Date: Tue, 8 Mar 2022 12:10:53 -0700
Subject: adds socket io and other socket stuff

---
 client/components/home/ping.jsx | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 client/components/home/ping.jsx

(limited to 'client/components/home/ping.jsx')

diff --git a/client/components/home/ping.jsx b/client/components/home/ping.jsx
new file mode 100644
index 0000000..dd891af
--- /dev/null
+++ b/client/components/home/ping.jsx
@@ -0,0 +1,22 @@
+import { useState } from 'react';
+import { Button } from '../common/button';
+
+export const Ping = () => {
+  const [pings, setPings] = useState([]);
+  const [key, setKey] = useState('defaultkey');
+  return (
+    <>
+      <header>Ping</header>
+      <section>
+        <input
+          type="text"
+          className="border-2 border-gray-700 p-2 rounded"
+          value={key}
+          onChange={(e) => setKey(e.target.value)}
+        />
+        <Button>Ping Connect</Button>
+        <Button>Send Ping</Button>
+      </section>
+    </>
+  );
+};
-- 
cgit v1.2.3-70-g09d2

