Must include "React" in the import line, see line 2. Import React, { Component } from "react";

React' must be in scope when using JSX react/react-in-jsx-scope

Similar Code Examples