import type { ReactNode } from "react"; import { ScopedErrorBoundary, type ScopedErrorBoundaryProps, } from "./scoped-error-boundary.tsx"; /** * Spec ยง30. Contains a feature-local render failure inside the feature's own * subtree. The enclosing context boundary is the next escalation. */ export function FeatureErrorBoundary( props: Readonly<{ featureId: string; children: ReactNode; fallback?: ReactNode; resetKey?: string; onError?: ScopedErrorBoundaryProps["onError"]; }>, ) { return ( {props.children} ); }