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

Function Expander

packages/query-devtools/src/Explorer.tsx:63–84  ·  view source on GitHub ↗
(props: { expanded: boolean })

Source from the content-addressed store, hash-verified

61}
62
63const Expander = (props: { expanded: boolean }) => {
64 return (
65 <span
66 class={`tsqd-style-explorer-expander ${props.expanded ? 'tsqd-style-explorer-expander-expanded' : ''}`}
67 >
68 <svg
69 width="16"
70 height="16"
71 viewBox="0 0 16 16"
72 fill="none"
73 xmlns="http://www.w3.org/2000/svg"
74 >
75 <path
76 d="M6 12L10 8L6 4"
77 stroke-width="2"
78 stroke-linecap="round"
79 stroke-linejoin="round"
80 />
81 </svg>
82 </span>
83 )
84}
85
86type CopyState = 'NoCopy' | 'SuccessCopy' | 'ErrorCopy'
87const CopyButton = (props: { value: unknown }) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected