'use client' import React from "react"; import styles from "@/styles/dev-tools.module.css" import { Container, Select, Stack } from "@mui/material" export default function Page(){ return (
) } function DynamicCard() { // to add a new kind of data type "map", "string", "bool", etc. they add a prop for it. return ( <> ) } interface Theme{ value: string; label: string; } function LeftMenu(){ const unitTypes: string[] = ["minion", "enemy", "hero", "ally"]; const buildingTypes: string[] = ["enemy", "minion", "terrain", "support"]; const [themes, setThemes] = React.useState([]); // get from the database const [menuMode, setMenuMode] = React.useState<"unit" | "card">("card"); return ( Type Theme ) } function Editor(){ return ( yes ) }