UNPKG

@wayneintacart/react-hydration-overlay

Version:

Fork of React utility for descriptive hydration mismatch errors.

18 lines (13 loc) 486 B
import React, { PropsWithChildren } from 'react'; type OverlayIntegrationsProps = { spotlight?: boolean; }; type HydrationOverlayProps = PropsWithChildren & { integrations?: OverlayIntegrationsProps; }; type OverlayProps = { integrations?: OverlayIntegrationsProps; }; declare function Overlay({ integrations }: OverlayProps): any; declare function HydrationOverlay({ children, ...rest }: HydrationOverlayProps): React.JSX.Element; export { HydrationOverlay, Overlay };