We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8048d9d commit 9e62df2Copy full SHA for 9e62df2
packages/devtools-utils/src/solid/class-mount-impl.tsx
@@ -2,13 +2,15 @@
2
3
import { lazy } from 'solid-js'
4
import { Portal, render } from 'solid-js/web'
5
+
6
import type { JSX } from 'solid-js'
7
+import type { ThemeType } from '@tanstack/devtools-ui'
8
9
export function __mountComponent(
10
el: HTMLElement,
- theme: 'light' | 'dark',
11
+ theme: ThemeType,
12
importFn: () => Promise<{
- default: (props: { theme: 'light' | 'dark' }) => JSX.Element
13
+ default: (props: { theme: ThemeType }) => JSX.Element
14
}>,
15
): () => void {
16
const Component = lazy(importFn)
0 commit comments