NeahNew/node_modules/next/dist/shared/lib/lazy-dynamic/dynamic-bailout-to-csr.d.ts
2025-05-03 14:17:46 +02:00

12 lines
437 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<unknown, string | import("react").JSXElementConstructor<any>>;
export {};