UNPKG

472 BTypeScriptView Raw
1import * as React from 'react';
2export interface NoSsrProps {
3 /**
4 * You can wrap a node.
5 */
6 children?: React.ReactNode;
7 /**
8 * If `true`, the component will not only prevent server-side rendering.
9 * It will also defer the rendering of the children into a different screen frame.
10 * @default false
11 */
12 defer?: boolean;
13 /**
14 * The fallback content to display.
15 * @default null
16 */
17 fallback?: React.ReactNode;
18}