line 4 'react' must be in scope when using jsx react/react-in-jsx-scope code example
Example: react must be in scope when using jsx
Must include "React" in the import line, see line 2.
Import React, { Component } from "react";
Must include "React" in the import line, see line 2.
Import React, { Component } from "react";