mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
18 lines
465 B
TypeScript
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)
|