You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gcgj-dify-1.7.0/web/app/components/base/prompt-editor/plugins/placeholder.tsx

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