'use client' import { memo, useState } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' import type { OnFeaturesChange } from '../../types' import ParamConfigContent from './param-config-content' import { Settings01 } from '@/app/components/base/icons/src/vender/line/general' import { PortalToFollowElem, PortalToFollowElemContent, PortalToFollowElemTrigger, } from '@/app/components/base/portal-to-follow-elem' type ParamsConfigProps = { onChange?: OnFeaturesChange disabled?: boolean } const ParamsConfig = ({ onChange, disabled, }: ParamsConfigProps) => { const { t } = useTranslation() const [open, setOpen] = useState(false) return ( !disabled && setOpen(v => !v)}>
{t('appDebug.voice.settings')}
) } export default memo(ParamsConfig)