| 1 | import React from "react"; |
| 2 | |
| 3 | interface ConfigSubsectionProps { |
| 4 | title?: string; |
| 5 | children: React.ReactNode; |
| 6 | className?: string; |
| 7 | } |
| 8 | |
| 9 | export function ConfigSubsection({ |
| 10 | title, |
| 11 | children, |
| 12 | className = "", |
| 13 | }: ConfigSubsectionProps) { |
| 14 | return ( |
| 15 | <div className={className}> |
| 16 | {title && <h3 className="mb-2 text-sm font-semibold">{title}</h3>} |
| 17 | {children} |
| 18 | </div> |
| 19 | ); |
| 20 | } |