import { Fragment } from 'react' import themes from 'shared/themes/index.js' import ThemeIcon from 'shared/components/icons/theme.js' import { useTranslation } from 'next-i18next' import { Popover, Transition } from '@headlessui/react' import { ChevronDownIcon } from '@heroicons/react/20/solid' const ThemePicker = ({ app, className, iconOnly=false }) => { const { t } = useTranslation(['themes', 'common']) return ( {() => ( <> {t(`common:theme`)}
{Object.keys(themes).map(theme => ( ))}
)}
) } export default ThemePicker