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

Interface TooltipIssue

packages/devtools-a11y/src/core/utils/ui.utils.ts:277–280  ·  view source on GitHub ↗

* Issue info for tooltip display

Source from the content-addressed store, hash-verified

275
276 const firstIssue = sortedIssues[0]
277 if (!firstIssue) {
278 return null
279 }
280
281 const mostSevere = firstIssue.impact
282 const tooltip = document.createElement('div')
283 tooltip.className = `${TOOLTIP_CLASS} ${TOOLTIP_CLASS}--${mostSevere}`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected