import React, { FC, useEffect } from "react" import { EMOJI_STRATEGY } from "./strategy" import { Textarea } from "./components/Textarea" import { Usage } from "./sections/Usage" import { Editors } from "./sections/Editors" import { Style } from "./sections/Style" const USAGE = "usage" const STYLE = "style" const EDITORS = "editors" const CURRENT_YEAR = new Date().getFullYear() export const App: FC = () => { useEffect(() => { if (location.hash === "") { // Without this code, window initially scrolls to bottom by unknown reason. scroll(0, 0) } }, []) return ( <>

Textcomplete

Autocomplete for Textarea and more.