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

Function label

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

Source from the content-addressed store, hash-verified

586 return search && match ? { term: search.term, match } : undefined
587 }
588 const label = () => (
589 <HighlightedText
590 text={props.label}
591 term={props.search?.match.label ? props.search.term : undefined}
592 highlight={props.highlight}
593 />
594 )
595 const valueText = () => {
596 if (!props.search) return displayValue(props.value)
597 switch (props.search.match.kind) {

Callers 1

ExplorerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected