import React, {useState} from 'react';

const TestComponent: React.FC = () => {
  const [text, setText] = useState('');

  return (
    <div>
      <div>
        <h1>React + TypeScript lives!</h1>
      </div>
      Is React working? Test here: {text}
      <hr />
      <input onChange={e => setText(e.target.value)} />
    </div>
  );
};

export default TestComponent;
