()
| 4 | import { useAppTheme } from "../context/ThemeContextProvider"; |
| 5 | |
| 6 | export function ToggleThemeButton() { |
| 7 | const { themeMode, toggleTheme } = useAppTheme(); |
| 8 | return ( |
| 9 | <IconButton sx={{ ml: 1 }} onClick={toggleTheme} color="inherit"> |
| 10 | {themeMode === "dark" ? <Brightness7Icon /> : <Brightness4Icon />} |
| 11 | </IconButton> |
| 12 | ); |
| 13 | } |
nothing calls this directly
no test coverage detected