Files
gsfdc/demo-dify/dify/web/app/components/header/account-setting/api-based-extension-page/empty.tsx
T
wuzilongandCursor c2cb845a32 feat(dify): 把本地控制台的中文与去外链改动入库
这些界面改动和专家服务草稿停在工作区,没有随上一笔主分支提交进入仓库。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-23 09:44:09 +08:00

25 lines
979 B
TypeScript

import { useTranslation } from 'react-i18next'
import { STEP_BY_STEP_TOUR_TARGETS } from '@/app/components/step-by-step-tour/target-registry'
export function Empty() {
const { t } = useTranslation(['common'])
return (
<div
className="mb-2 flex flex-col items-start gap-3 rounded-xl bg-background-section p-6"
data-step-by-step-tour-target={STEP_BY_STEP_TOUR_TARGETS.integrationCustomEndpointEmpty}
>
<div className="flex size-10 items-center justify-center rounded-[10px] border-[0.5px] border-components-card-border bg-components-card-bg-alt shadow-lg backdrop-blur-xs">
<span
aria-hidden
className="i-custom-vender-workflow-api-aggregate size-5 text-text-tertiary"
/>
</div>
<div className="flex w-full flex-col gap-1">
<div className="system-xs-regular text-text-primary">
{t(($) => $['apiBasedExtension.title'], { ns: 'common' })}
</div>
</div>
</div>
)
}