import themes from 'shared/themes/index.js' import { useTranslation } from 'next-i18next' import { useTheme } from 'shared/hooks/use-theme.mjs' import { ModalWrapper } from 'shared/components/wrappers/modal.mjs' export const ns = ['themes'] export const ModalThemePicker = ({ app, iconOnly = false, bottom = false }) => { const [theme, setTheme] = useTheme() const { t } = useTranslation(ns) return (

{t('themes:chooseYourTheme')}

{Object.keys(themes).map((theme) => (
))}
) }