| // import React from "react"; | |
| // import { renderHook as testingLibraryRenderHook } from "@testing-library/react"; | |
| // import type { DayPickerProps } from "../src"; | |
| // /** Render a hook wrapped with the {@link ContextProviders} Provider. */ | |
| // export function renderHook<TResult>( | |
| // /** The hook to render. */ | |
| // hook: () => TResult, | |
| // /** The options to pass to the testing library render function. */ | |
| // options?: Omit<Parameters<typeof testingLibraryRenderHook>[1], "wrapper"> | |
| // ) { | |
| // return testingLibraryRenderHook(hook, { | |
| // ...options | |
| // }); | |
| // } | |