MCPcopy Create free account
hub / github.com/TanStack/query / label

Function label

packages/query-devtools/src/Explorer.tsx:551–557  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

549 return search && match ? { term: search.term, match } : undefined
550 }
551 const label = () => (
552 <HighlightedText
553 text={props.label}
554 term={props.search?.match.label ? props.search.term : undefined}
555 highlight={props.highlight}
556 />
557 )
558 const valueText = () => {
559 if (!props.search) return displayValue(props.value)
560 switch (props.search.match.kind) {

Callers 1

ExplorerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected