(props)
| 99 | } |
| 100 | |
| 101 | function LoadingIcon(props) { |
| 102 | let id = useId() |
| 103 | |
| 104 | return ( |
| 105 | <svg viewBox="0 0 20 20" fill="none" aria-hidden="true" {...props}> |
| 106 | <circle cx="10" cy="10" r="5.5" strokeLinejoin="round" /> |
| 107 | <path |
| 108 | stroke={`url(#${id})`} |
| 109 | strokeLinecap="round" |
| 110 | strokeLinejoin="round" |
| 111 | d="M15.5 10a5.5 5.5 0 1 0-5.5 5.5" |
| 112 | /> |
| 113 | <defs> |
| 114 | <linearGradient |
| 115 | id={id} |
| 116 | x1="13" |
| 117 | x2="9.5" |
| 118 | y1="9" |
| 119 | y2="15" |
| 120 | gradientUnits="userSpaceOnUse" |
| 121 | > |
| 122 | <stop stopColor="currentColor" /> |
| 123 | <stop offset="1" stopColor="currentColor" stopOpacity="0" /> |
| 124 | </linearGradient> |
| 125 | </defs> |
| 126 | </svg> |
| 127 | ) |
| 128 | } |
| 129 | |
| 130 | function HighlightQuery({ text, query }) { |
| 131 | return ( |
nothing calls this directly
no outgoing calls
no test coverage detected