(props: { isOpen: boolean })
| 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 | */ |
| 12 | export 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 | } |
nothing calls this directly
no test coverage detected