diff --git a/packages/react-chat-example/src/index.tsx b/packages/react-chat-example/src/index.tsx
index 13c81164..469f6b3b 100644
--- a/packages/react-chat-example/src/index.tsx
+++ b/packages/react-chat-example/src/index.tsx
@@ -62,30 +62,35 @@ function DragDiv() {
document.addEventListener("mouseup", onMouseUp);
}}
/>
+
+
+
{showChat && (
- <>
-
-
-
- {
- setting.current = "size";
- document.addEventListener("mousemove", onMouseMove);
- document.addEventListener("mouseup", onMouseUp);
- }}
- >
- >
+ {
+ setting.current = "size";
+ document.addEventListener("mousemove", onMouseMove);
+ document.addEventListener("mouseup", onMouseUp);
+ }}
+ >
)}
);
}
+const FloatingDiv = styled.div`
+ height: calc(100% - 50px);
+ border: 1px solid black;
+
+ &.hide {
+ display: none;
+ }
+`;
+
const SizeSet = styled.div`
margin-left: auto;
margin-right: 0px;