import { Switch } from "@nextui-org/react"; import { useTranslation } from "react-i18next"; import { I18nKey } from "#/i18n/declaration"; import { cn } from "#/utils/utils"; interface AdvancedOptionSwitchProps { isDisabled: boolean; showAdvancedOptions: boolean; setShowAdvancedOptions: (value: boolean) => void; } export function AdvancedOptionSwitch({ isDisabled, showAdvancedOptions, setShowAdvancedOptions, }: AdvancedOptionSwitchProps) { const { t } = useTranslation(); return ( {t(I18nKey.SETTINGS_FORM$ADVANCED_OPTIONS_LABEL)} ); }