ConceptPortal-public/rsconcept/frontend/src/features/ai/dialogs/dlg-ai-prompt/tab-prompt-result.tsx

18 lines
399 B
TypeScript
Raw Normal View History

2025-07-15 23:50:57 +03:00
import { TextArea } from '@/components/input';
interface TabPromptResultProps {
2025-07-21 11:15:28 +03:00
prompt: string;
2025-07-15 23:50:57 +03:00
}
2025-07-21 11:15:28 +03:00
export function TabPromptResult({ prompt }: TabPromptResultProps) {
2025-07-15 23:50:57 +03:00
return (
2025-07-21 11:15:28 +03:00
<TextArea
aria-label='Сгенерированное сообщение'
value={prompt}
placeholder='Текст шаблона пуст'
disabled
2025-09-29 20:55:50 +03:00
className='w-full h-88'
2025-07-21 11:15:28 +03:00
/>
2025-07-15 23:50:57 +03:00
);
}