📜  使用 JSX react-in-jsx-scope 时,'React' 必须在范围内 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:08.083000             🧑  作者: Mango

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