import React from "react"; interface MenuItem { name: string; componentKey: string; } const menuItems: MenuItem[] = [ { name: "Moons", componentKey: "stakingsourcesview" }, { name: "Inventory", componentKey: "inventoryitemview" }, { name: "Buy Items", componentKey: "storeitemview" }, { name: "Sell Resources", componentKey: "resourcestore" }, ]; interface NavbarProps { onMenuItemClick: (componentKey: string) => void; activeItem: string; } const NavbarVertical: React.FC = ({ onMenuItemClick, activeItem, }) => { return (
); }; export default NavbarVertical;