react-navi
Version:
A batteries-included router for react.
11 lines (10 loc) • 370 B
TypeScript
import * as React from 'react';
import { NotFoundError } from 'navi';
export interface NotFoundBoundaryProps {
render: (error: NotFoundError) => React.ReactNode;
children?: React.ReactNode | undefined;
}
export declare namespace NotFoundBoundary {
type Props = NotFoundBoundaryProps;
}
export declare const NotFoundBoundary: React.FC<NotFoundBoundaryProps>;