function Editor() {
  function handleChange(event: React.ChangeEvent<HTMLTextAreaElement>) {
    console.log(event.target.value);
  }

  return (
    <textarea onChange={handleChange}></textarea>
  );
}

export default Editor;
