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

Function renderedValue

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

Source from the content-addressed store, hash-verified

614 }
615 }
616 const renderedValue = () => (
617 <>
618 {props.search && typeof props.value === 'string' ? '"' : ''}
619 <HighlightedText
620 text={valueText() ?? ''}
621 term={props.search?.match.value ? props.search.term : undefined}
622 highlight={props.highlight}
623 />
624 {props.search && typeof props.value === 'string' ? '"' : ''}
625 </>
626 )
627
628 const currentDataPath = props.dataPath ?? []
629

Callers 1

ExplorerFunction · 0.85

Calls 1

valueTextFunction · 0.85

Tested by

no test coverage detected