Working Changes

This commit is contained in:
Patrick Fic
2020-02-10 13:52:02 -08:00
parent cac3716e03
commit 0793d10e82
6 changed files with 282 additions and 1198 deletions

View File

@@ -1,5 +1,10 @@
import React from "react";
import { Drawer } from "antd";
export default function ChatWindowComponent({ ...drawerProps }) {
return <Drawer {...drawerProps}>Chat Windows and more</Drawer>;
export default function ChatWindowComponent({ toggleChatVisible }) {
return (
<div style={{ height: "300px" }}>
<button onClick={() => toggleChatVisible()}>hide</button> This is a chat
window!
</div>
);
}