| 1 | import React from "react"; |
| 2 | |
| 3 | interface ConfigSectionProps { |
| 4 | title?: string; |
| 5 | children: React.ReactNode; |
| 6 | className?: string; |
| 7 | } |
| 8 | |
| 9 | // ConfigSection for internal section organization within pages |
| 10 | // Not used as page wrapper - that's handled by ConfigPageLayout |
| 11 | export function ConfigSection({ |
| 12 | title, |
| 13 | children, |
| 14 | className = "", |
| 15 | }: ConfigSectionProps) { |
| 16 | return ( |
| 17 | <div className={className}> |
| 18 | {title && <h3 className="mb-4 text-base font-semibold">{title}</h3>} |
| 19 | {children} |
| 20 | </div> |
| 21 | ); |
| 22 | } |