one
Version:
One is a new React Framework that makes Vite serve both native and web.
13 lines • 549 B
TypeScript
import type { ErrorBoundaryProps } from './Try';
/**
* Default error boundary component for native platforms.
* Shows a user-friendly error message with retry capability.
*
* This component is used when:
* - A route doesn't export its own ErrorBoundary
* - An error occurs during rendering
*
* Users can override this by exporting their own ErrorBoundary from a route.
*/
export declare function ErrorBoundary({ error, retry, route }: ErrorBoundaryProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=ErrorBoundary.d.ts.map