import './Editor.css';

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

  return (
    <div className="Editor">
      <textarea onChange={handleChange} className="Editor-textarea"></textarea>
      <div className="Editor-ast"></div>
    </div>
  );
}

export default Editor;
