import React from "react"; import styles from "@/styles/dev-tools.module.css" import { RichTreeView } from '@mui/x-tree-view/RichTreeView'; import { Container, Select, Stack, MenuItem, InputLabel, Typography } from "@mui/material" import { buildingTypes, unitTypes } from "@/types/dev-tools-extra"; import { useEditor } from "@/hooks/useEditor"; const debugCard = [ { id: "terrain_forest", label: "Forest", children: [ { id: "terrain_haunted_forest", label: "Haunted Forest", children: [ { id: 'terrain_undead_candy_forest', label: "Undead Candy Forest" } ] } ] }, ] export default function LeftMenu(){ //const [themes, setThemes] = React.useState([]); // get from the database const [menuMode, setMenuMode] = React.useState<"unit" | "card">("card"); const { changeCurrentDataId } = useEditor(); const handleSelectAsset = (_e: React.MouseEvent, id: string) => { changeCurrentDataId!(id); } return ( Asset Type Theme Current {menuMode}s created ) }