MCPcopy
hub / github.com/callstack/react-native-testing-library / RenderOptions

Interface RenderOptions

src/render.tsx:21–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19import { getQueriesForInstance } from './within';
20
21export interface RenderOptions {
22 /**
23 * Pass a React Component as the wrapper option to have it rendered around the inner element. This is most useful for creating
24 * reusable custom render functions for common data providers.
25 */
26 // eslint-disable-next-line @typescript-eslint/no-explicit-any
27 wrapper?: React.ComponentType<any>;
28}
29
30export type RenderResult = Awaited<ReturnType<typeof render>>;
31

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…