UNPKG

@openmrs/esm-styleguide

Version:
7 lines (6 loc) 431 B
import React, { type ReactElement } from 'react'; import { type RenderOptions } from '@testing-library/react'; export declare const swrWrapper: ({ children }: { children: any; }) => React.JSX.Element; export declare const renderWithSwr: (ui: ReactElement, options?: Omit<RenderOptions, "queries">) => import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement, HTMLElement>;