alas/web/pages/index.tsx

25 lines
652 B
TypeScript
Raw Normal View History

2022-07-03 15:29:11 +00:00
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>
)
}