📅  最后修改于: 2022-03-11 15:02:07.385000             🧑  作者: Mango
import React, { useState } from "react";import "./styles.css";
export default function App() {
const [isActive, setActive] = useState("false");
const handleToggle = () => {
setActive(!isActive); };
return (
Hello react
);
}