import { useState, useEffect, useRef } from "react"; import type { ValidationSettings as VS } from "@/api/types"; import { api } from "@/api/client"; import { useUiStore } from "@/stores/uiStore"; import { useT } from "@/lib/i18n"; import { IconSettings } from "@/components/shared/Icons"; function Toggle({ checked, onChange, }: { checked: boolean; onChange: (v: boolean) => void; }) { return ( ); } function SettingRow({ label, desc, checked, onChange, }: { label: string; desc?: string; checked: boolean; onChange: (v: boolean) => void; }) { return (
{label}
{desc &&{desc}
}{t("tools.validationSettings")}
{t("tools.importSettings")}
{/* Tab switcher */}{t("settings.display")}