UNPKG

easy-jsx-html-engine

Version:

Dead simple HTML engine using JSX syntax.

8 lines (7 loc) 323 B
import type { Children } from "./types"; export interface ErrorBoundaryProps { children?: Children[] | [() => Children]; catch?: ((error: any) => JSX.Element) | Children; } export declare function ErrorBoundary(props: ErrorBoundaryProps): JSX.Element; export declare function defaultCatch(error: any): JSX.Element;