alas/web/pages/index.tsx
2022-07-03 17:29:11 +02:00

24 lines
652 B
TypeScript

import Head from 'next/head'
import TextInput from "../components/TextInput";
import Continuation from '../components/Continuation';
import {useRef, useState} from "react";
export default function Home() {
const [text, setText] = useState<string>("");
// @ts-ignore
return (
<div>
<Head>
<title>Alas, me got ye now</title>
<meta name="description" content="Finally understand what people really say"/>
<link rel="icon" href="/favicon.ico"/>
</Head>
<TextInput textFn={setText} />
<Continuation text={text}/>
</div>
)
}