UNPKG

@tanstack/table-devtools

Version:

Devtools for TanStack Table.

26 lines 1.14 kB
import { TanStackDevtoolsTheme } from "@tanstack/devtools-ui"; //#region src/panelProps.d.ts interface TableDevtoolsPanelProps { theme: TanStackDevtoolsTheme; devtoolsOpen: boolean; } /** * `@tanstack/vue-devtools` 0.2.24 still treats the plugin `render` second * argument as a theme string and wraps it in `{ theme }`. Current * `@tanstack/devtools` passes `{ theme, devtoolsOpen }`, so the panel can * receive a nested props object (or `'system'`) instead of `'light' | 'dark'`. */ declare function resolveDevtoolsTheme(theme: unknown): TanStackDevtoolsTheme; declare function resolveDevtoolsPanelProps(input?: { theme?: unknown; devtoolsOpen?: boolean; } | null): TableDevtoolsPanelProps; /** * `@tanstack/devtools-ui` 0.7.0 injects `@font-face` rules whose * `import.meta.url` assets 404 under Angular's Vite `@fs` resolver. Seeding * the style tag first makes that injection a no-op; the panel falls back to * system fonts. */ declare function seedDevtoolsFontStyle(targetDocument?: Document): void; //#endregion export { TableDevtoolsPanelProps, resolveDevtoolsPanelProps, resolveDevtoolsTheme, seedDevtoolsFontStyle };