import { Select as AntSelect, Form } from 'antd'; import { useTranslation } from 'react-i18next'; const Languages = [ 'English', 'Chinese', 'Spanish', 'French', 'German', 'Japanese', 'Korean', 'Vietnamese', ]; const options = Languages.map((x) => ({ label: x, value: x })); type CrossLanguageItemProps = { name?: string | Array; }; export const CrossLanguageItem = ({ name = ['prompt_config', 'cross_languages'], }: CrossLanguageItemProps) => { const { t } = useTranslation(); return ( ); };