'use client' import classNames from 'classnames' import { useTranslation } from 'react-i18next' import { type AppMode } from '@/types/app' import style from '../list.module.css' export type AppModeLabelProps = { mode: AppMode className?: string } const AppModeLabel = ({ mode, className, }: AppModeLabelProps) => { const { t } = useTranslation() return ( {t(`app.modes.${mode}`)} ) } export default AppModeLabel