MCPcopy Create free account
hub / github.com/TanStack/devtools / PluginsTab

Function PluginsTab

packages/devtools/src/tabs/plugins-tab.tsx:9–158  ·  view source on GitHub ↗
(props: { isOpen: boolean })

Source from the content-addressed store, hash-verified

7 * The Plugins destination when no plugin is registered at all. The panes
8 * themselves are not here: they live in `PluginWorkspace`, which is mounted once
9 * above the destination switch so that navigating to Marketplace and back does
10 * not detach a plugin's DOM.
11 */
12export const PluginsTab = () => {
13 const { plugins } = createPlugins()
14 const styles = createStyles()
15
16 return (
17 <Show when={(plugins()?.length ?? 0) === 0}>
18 <div data-tsd-surface class={styles().pluginsTabContent}>
19 <PluginMarketplace />
20 </div>
21 </Show>
22 )
23}

Callers

nothing calls this directly

Calls 6

createPluginsFunction · 0.90
createDrawContextFunction · 0.90
createStylesFunction · 0.90
createThemeFunction · 0.90
handlePluginClickFunction · 0.85
renderMethod · 0.80

Tested by

no test coverage detected