MCPcopy
hub / github.com/clientIO/joint / graphProviderWrapper

Function graphProviderWrapper

packages/joint-react/src/utils/test-wrappers.tsx:14–20  ·  view source on GitHub ↗
(props: GraphProps)

Source from the content-addressed store, hash-verified

12 * This wrapper is used to render a graph provider.
13 */
14export function graphProviderWrapper(props: GraphProps): React.JSXElementConstructor<{
15 children: React.ReactNode;
16}> {
17 return function GraphProviderWrapper({ children }) {
18 return <GraphProvider {...props}>{children}</GraphProvider>;
19 };
20}
21
22interface Options {
23 paperProps?: PaperProps;

Calls

no outgoing calls

Tested by

no test coverage detected