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

Function handleExport

packages/devtools-a11y/src/core/components/Shell.tsx:22–30  ·  view source on GitHub ↗
(format: 'json' | 'csv')

Source from the content-addressed store, hash-verified

20 const [displaySettings, setDisplaySettings] = createSignal<boolean>(false)
21
22 const handleExport = (format: 'json' | 'csv') => {
23 if (allyResult.audit) return
24 // Keep export logic in runtime via event -> overlay? export is still a direct helper.
25 // We keep this import local to avoid pulling export code into the runtime module.
26
27 void import('../utils/export-audit.uitls').then((m) =>
28 m.exportAuditResults(allyResult.audit!, { format }),
29 )
30 }
31
32 const showOverlayState = createMemo(() => config.showOverlays)
33

Callers 1

ShellFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected