firejsx
Version:
The React Framework for SSB, SSR and Serverless technologies
13 lines (12 loc) • 336 B
TypeScript
/// <reference types="react" />
/**
* prevents ssr of a component
* @param For Component which shouldn't run on the server
* @param children Children of "For"
* @param extra Any Extra props for "For"
*/
export default function ({ For, children, ...extra }: {
[x: string]: any;
For: any;
children: any;
}): JSX.Element;