mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
added textRoom
This commit is contained in:
parent
1bbcb6ec59
commit
4d4989c754
16
packages/app/src/pages/textRoom/[id].jsx
Normal file
16
packages/app/src/pages/textRoom/[id].jsx
Normal file
@ -0,0 +1,16 @@
|
||||
import React from "react"
|
||||
import { LiveChat } from "components"
|
||||
|
||||
import "./index.less"
|
||||
|
||||
export default (props) => {
|
||||
const roomId = props.match.params.id
|
||||
|
||||
return <div className="textRoom">
|
||||
Connecting to room {roomId}
|
||||
|
||||
<LiveChat
|
||||
roomId={roomId}
|
||||
/>
|
||||
</div>
|
||||
}
|
3
packages/app/src/pages/textRoom/index.less
Normal file
3
packages/app/src/pages/textRoom/index.less
Normal file
@ -0,0 +1,3 @@
|
||||
.textRoom {
|
||||
height: 90vh;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user