@openmrs/esm-styleguide
Version:
The styleguide for OpenMRS SPA
7 lines (6 loc) • 431 B
TypeScript
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>;