feat: advanced prompt (#1330)

Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: Gillian97 <jinling.sunshine@gmail.com>
This commit is contained in:
zxhlyh 2023-10-12 23:14:28 +08:00 • committed by GitHub
commit 5b9858a8a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
131 changed files with 5944 additions and 451 deletions

View file

@ -0,0 +1,13 @@
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