import React from "react"; import { Box, Typography, Button, ToggleButton, ToggleButtonGroup, Tooltip, AppBar, Toolbar, Container, Divider, } from "@mui/material"; import KeyIcon from "@mui/icons-material/Key"; import HomeIcon from "@mui/icons-material/Home"; import BrightnessAutoIcon from "@mui/icons-material/BrightnessAuto"; import LightModeIcon from "@mui/icons-material/LightMode"; import DarkModeIcon from "@mui/icons-material/DarkMode"; function Header({ theme, onThemeChange, currentPage, onPageChange }) { return ( {/* Brand/Title */} JMESPath Playground {/* Right side controls */} {/* API Key Management Button */} {/* Theme switcher */} nextTheme && onThemeChange(nextTheme)} aria-label="theme switcher" size="small" > ); } export default Header;