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