next
Version:
The React Framework
12 lines (11 loc) • 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 {};