{/* Form Header */}
{(title || description) && (
{title && (
{title}
)}
{description && (
{description}
)}
)}
{/* Success Message */}
{success && (
)}
{/* Error Message */}
{error && (
)}
{/* Form Content */}
{children}
{/* Form Actions */}
{actions && (
{actions}
)}
{/* Loading Overlay */}
{loading && (
)}
);
}
// Form Actions Component
interface FormActionsProps {
children: ReactNode;
className?: string;
config?: Partial