import { memo } from 'react' import { useTheme } from 'next-themes' import { Button } from '../general' import { Header3 } from '../general/header' import { settingsHeadingStyle } from '@app/styles/headings' import { classNames } from '@app/utils/classes' const ThemesViewComponent = () => { const { theme, setTheme } = useTheme() const onLightThemeEvent = () => setTheme('light') const onDarkThemeEvent = () => setTheme('dark') const onSystemThemeEvent = () => setTheme('system') return (
The current theme is: {theme}