Files
dify/web/app/components/workflow/skill/editor/office-file-placeholder.tsx
2026-01-15 14:53:00 +08:00

18 lines
465 B
TypeScript

import type { FC } from 'react'
import * as React from 'react'
import { useTranslation } from 'react-i18next'
const OfficeFilePlaceholder: FC = () => {
const { t } = useTranslation('workflow')
return (
<div className="flex h-full w-full items-center justify-center text-text-tertiary">
<span className="system-sm-regular">
{t('skillEditor.officePlaceholder')}
</span>
</div>
)
}
export default React.memo(OfficeFilePlaceholder)