mirror of
https://github.com/langgenius/dify.git
synced 2025-07-17 14:22:06 +00:00
14 lines
333 B
TypeScript
14 lines
333 B
TypeScript
![]() |
import { useTranslation } from 'react-i18next'
|
||
|
|
||
|
const Placeholder = () => {
|
||
|
const { t } = useTranslation()
|
||
|
|
||
|
return (
|
||
|
<div className='absolute top-0 left-0 h-full w-full text-sm text-gray-300 select-none pointer-events-none leading-6'>
|
||
|
{t('common.promptEditor.placeholder')}
|
||
|
</div>
|
||
|
)
|
||
|
}
|
||
|
|
||
|
export default Placeholder
|