@quirks/react
Version:
9 lines (8 loc) • 548 B
TypeScript
import { PropsWithChildren } from 'react';
export declare const emptySubscribe: () => () => void;
export declare const QuirksNextProvider: ({ children, }: PropsWithChildren<unknown>) => import('react').ReactNode;
/**
* Utility to ensure that the code of a jsx component is only executed client-side, e.g. web extension
* information is not data that may reside on the server (e.g. whether it has been injected into the browser window)
*/
export declare const ClientOnly: ({ children, }: PropsWithChildren<unknown>) => import('react').ReactNode;