import { memo } from 'react' import { useTranslation } from 'react-i18next' import cn from '@/utils/classnames' const Placeholder = ({ compact, value, className, }: { compact?: boolean value?: string className?: string }) => { const { t } = useTranslation() return (
{value || t('common.promptEditor.placeholder')}
) } export default memo(Placeholder)