import React, { useState } from "react";

export default function App(): JSX.Element {
  const [name, setName] = useState<string>("meowrain");
  return (
    <div>
      app-{name.substring(0, 1).toUpperCase() + name.substring(1)}
      <button onClick={() => setName("小明")}>Change</button>
    </div>
  );
}