UNPKG

@wayneintacart/react-hydration-overlay

Version:

Fork of React utility for descriptive hydration mismatch errors.

13 lines (10 loc) 424 B
import { NextConfig } from 'next'; export { withHydrationOverlayWebpack } from './webpack.cjs'; type NextPluginOptions = { /** * The selector for the root element of your app. Defaults to `#__next`. */ appRootSelector?: string; }; declare const withHydrationOverlay: (pluginOptions?: NextPluginOptions) => (nextConfig?: NextConfig) => NextConfig; export { type NextPluginOptions, withHydrationOverlay };