From 26c0a898023a047fcb0fb985d9b214c4738a604c Mon Sep 17 00:00:00 2001
From: Vishesh Pandey <74998585+Vishesh-Pandey@users.noreply.github.com>
Date: Wed, 10 Jan 2024 23:57:44 +0530
Subject: [PATCH] add create room option
---
src/App.tsx | 4 +-
src/components/CreateRoom.tsx | 23 +++++++++
src/components/LiveRoom.tsx | 80 +++++++++++++++++++++-----------
src/components/PublishedText.tsx | 2 +-
4 files changed, 81 insertions(+), 28 deletions(-)
create mode 100644 src/components/CreateRoom.tsx
diff --git a/src/App.tsx b/src/App.tsx
index 022d029..6368332 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -5,6 +5,7 @@ import ShareText from "./components/ShareText";
import PublishedText from "./components/PublishedText";
import About from "./components/About";
import LiveRoom from "./components/LiveRoom";
+import CreateRoom from "./components/CreateRoom";
function App() {
return (
@@ -14,7 +15,8 @@ function App() {
Text here will get updated in realtime due to other collaborators
-- LiveRoom on v-share is still under development. You might get - unexpected errors while using it. -