UNPKG

@ucam/design-system

Version:
12 lines (11 loc) 399 B
export interface UseHydratedOptions { /** * By default useHydrated checks to see if it is run inside a HydrationChecker and warns if not, this disables that warning */ ignoreWarnings?: boolean; } /** * A hook to check whether we're hydrated * Use inside <HydrationChecker /> */ export declare const useHydrated: (options?: UseHydratedOptions) => boolean | undefined;