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