Files
scrap/node_modules/next/dist/shared/lib/lazy-dynamic/dynamic-bailout-to-csr.d.ts
2024-09-24 03:52:46 +00:00

12 lines
433 B
TypeScript

import type { ReactElement } from 'react';
interface BailoutToCSRProps {
reason: string;
children: ReactElement;
}
/**
* If rendered on the server, this component throws an error
* to signal Next.js that it should bail out to client-side rendering instead.
*/
export declare function BailoutToCSR({ reason, children }: BailoutToCSRProps): ReactElement<any, string | import("react").JSXElementConstructor<any>>;
export {};