chatbot-ai / frontend /src /components /SystemPrompt.tsx
nvikou's picture
Upload 22 files
50dd460 verified
Raw History Blame Contribute Delete
419 Bytes
import React from 'react'
export default function SystemPrompt({ value, onChange }: { value: string; onChange: (v: string) => void }) {
return (
<textarea
className="w-full h-24 bg-zinc-900 border border-zinc-700 rounded-xl p-3"
placeholder="Системное сообщение (необязательно)"
value={value}
onChange={e => onChange(e.target.value)}
/>
)
}