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

Function renderedValue

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

Source from the content-addressed store, hash-verified

577 }
578 }
579 const renderedValue = () => (
580 <>
581 {props.search && typeof props.value === 'string' ? '"' : ''}
582 <HighlightedText
583 text={valueText() ?? ''}
584 term={props.search?.match.value ? props.search.term : undefined}
585 highlight={props.highlight}
586 />
587 {props.search && typeof props.value === 'string' ? '"' : ''}
588 </>
589 )
590
591 const currentDataPath = props.dataPath ?? []
592

Callers 1

ExplorerFunction · 0.85

Calls 1

valueTextFunction · 0.85

Tested by

no test coverage detected