MCPcopy Index your code
hub / github.com/TanStack/devtools / convertRender

Function convertRender

packages/solid-devtools/src/core.tsx:25–33  ·  view source on GitHub ↗
(
  el: HTMLDivElement | HTMLHeadingElement,
  Component: SolidPluginRender,
  props: TanStackDevtoolsPluginProps,
)

Source from the content-addressed store, hash-verified

23 props: TanStackDevtoolsPluginProps,
24 ) => JSX.Element)
25const convertRender = (
26 el: HTMLDivElement | HTMLHeadingElement,
27 Component: SolidPluginRender,
28 props: TanStackDevtoolsPluginProps,
29) => (
30 <Portal mount={el}>
31 {typeof Component === 'function' ? Component(el, props) : Component}
32 </Portal>
33)
34
35export type TanStackDevtoolsSolidPlugin = Omit<
36 TanStackDevtoolsPlugin,

Callers 1

SolidDevtoolsCoreFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected