mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-05-18 03:26:55 +08:00

Co-authored-by: Joel <iamjoel007@gmail.com> Co-authored-by: JzoNg <jzongcode@gmail.com> Co-authored-by: Gillian97 <jinling.sunshine@gmail.com>
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
|