import { useState } from 'react'; import { Modal } from '../Modal'; export type ModifyCoursePromptProps = { title: string; // Yeni eklenen özellik description: string; // Yeni eklenen özellik onClose: () => void; onSubmit: (prompt: string) => void; }; export function ModifyCoursePrompt(props: ModifyCoursePromptProps) { const { onClose, onSubmit } = props; const [prompt, setPrompt] = useState(''); const handleSubmit = (e: React.FormEvent) => { e.preventDefault(); onSubmit(prompt); }; return (

Give AI more context

Pass additional information to the AI to generate a course outline.