import type { FC } from 'react' import { useTranslation } from 'react-i18next' import { RiGlobalLine } from '@remixicon/react' import { useSelectOrDelete } from '../../hooks' import { DELETE_REQUEST_URL_BLOCK_COMMAND } from './index' import cn from '@/utils/classnames' type RequestURLBlockComponentProps = { nodeKey: string } const RequestURLBlockComponent: FC = ({ nodeKey, }) => { const { t } = useTranslation() const [ref, isSelected] = useSelectOrDelete(nodeKey, DELETE_REQUEST_URL_BLOCK_COMMAND) return (
{t('common.promptEditor.requestURL.item.title')}
) } export default RequestURLBlockComponent