UNPKG

rasengan

Version:

The modern React Framework

34 lines (33 loc) 1.14 kB
import { LinkProps } from 'react-router'; import { RasenganPageComponentProps } from '../types.js'; /** * Error boundary component that will be displayed if an error occurs during a routing * @returns */ export declare function ErrorBoundary(): import("react/jsx-runtime.js").JSX.Element; /** * Page component that defines title and description to a page */ export declare const RasenganPageComponent: ({ page: Page, data, }: RasenganPageComponentProps) => import("react/jsx-runtime.js").JSX.Element; /** * Component that will be displayed when a page is not found * @returns React.ReactNode */ export declare const NotFoundPageComponent: () => import("react/jsx-runtime.js").JSX.Element; /** * Custom Link Component * @param props * @returns React.ReactNode */ export declare const CustomLink: (props: LinkProps) => import("react/jsx-runtime.js").JSX.Element; type Props = { alwaysToTop?: boolean; target?: React.RefObject<HTMLElement | null>; }; /** * Scroll restoration component * @param {Props} props * @returns */ export declare function ScrollRestoration({ alwaysToTop, target }: Props): any; export {};