UNPKG

microsite

Version:
7 lines (6 loc) 329 B
import { FunctionComponent } from "preact"; export declare const HydrateContext: import("preact").Context<string | false>; export interface HydrationProps { method?: "idle" | "visible" | "interaction"; } export declare function withHydrate<T extends FunctionComponent<any>>(Component: T, hydrationProps?: HydrationProps): T;