@ucam/design-system
Version:
University of Cambridge Design System
10 lines (9 loc) • 433 B
TypeScript
import { FC } from 'react';
/**
* A Component that tells children when the react hydration run has finished.
* This is required so that the hydration run matches the SSR.
* Children can retrieve the hydration status using the useHydrated hook.
* It is generally not required to use this component directly as it is included by `<ThemeProvider />`
*/
declare const HydrationChecker: FC;
export default HydrationChecker;