import * as React from "react"; import { FunctionComponent } from "react"; import { useTranslation } from "react-i18next"; import { Context } from "../../context/context"; import { getWebTheme, webThemes } from "../../theme/themes"; const ThemeSwatches: FunctionComponent<{ context: Context }> = ({ context }) => { const { t } = useTranslation(); const current = getWebTheme(context.themeManager.theme); return (
{webThemes.map((theme) => ( ))}
); }; export default ThemeSwatches;