2023-02-05 15:29:35 -05:00
|
|
|
import React, { useState } from 'react';
|
2023-02-04 20:48:33 -05:00
|
|
|
import TextChat from './components/TextChat';
|
2023-02-04 19:19:53 -05:00
|
|
|
|
|
|
|
|
const App = () => {
|
2023-02-05 15:29:35 -05:00
|
|
|
const [messages, setMessages] = useState([]);
|
2023-02-04 19:19:53 -05:00
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<div className="flex h-screen">
|
|
|
|
|
<div className="w-80 bg-slate-800"></div>
|
|
|
|
|
<div className="flex h-full w-full flex-col bg-gray-50 ">
|
|
|
|
|
<div className="flex-1 overflow-y-auto"></div>
|
2023-02-04 20:48:33 -05:00
|
|
|
{/* <textarea className="m-10 h-16 p-4" onChange={(e) => console.log(e.target.value)}/> */}
|
|
|
|
|
<TextChat />
|
2023-02-04 19:19:53 -05:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default App;
|