import React, { useState } from "react"; import TopBar from "./components/TopBar/"; import Transfer from "./components/Transfer/"; import "./App.scss"; function App() { const [isOpen, setOpen] = useState(false); const [text, setText] = useState(""); return (
{ setText(e.target.value); }} handleTransfer={(e) => { setOpen(!isOpen); }} handleLanguage={(e)=>{ alert("Language"); }} handleProfile={(e)=>{ alert("Profile"); }} isOpen={isOpen} /> { setOpen(!isOpen); }} />

{text}

); } export default App;