import { t } from "@lingui/core/macro"; import { HiOutlineAdjustmentsHorizontal } from "react-icons/hi2"; import { useFontSize, type FontSize } from "~/providers/font-size"; const fontSizeOptions: { value: FontSize; label: () => string }[] = [ { value: "small", label: () => t`Small` }, { value: "medium", label: () => t`Medium` }, { value: "large", label: () => t`Large` }, ]; export function FontSizeSelector() { const { fontSize, setFontSize } = useFontSize(); return (
); }