(props: { value: string; label: string })
| 1296 | } |
| 1297 | |
| 1298 | function CopyButton(props: { value: string; label: string }) { |
| 1299 | return ( |
| 1300 | <button |
| 1301 | type="button" |
| 1302 | class="copy-button" |
| 1303 | data-copy-value={props.value} |
| 1304 | aria-label={props.label} |
| 1305 | title={props.label} |
| 1306 | > |
| 1307 | <svg |
| 1308 | class="copy-icon" |
| 1309 | xmlns="http://www.w3.org/2000/svg" |
| 1310 | width="14" |
| 1311 | height="14" |
| 1312 | viewBox="0 0 24 24" |
| 1313 | fill="none" |
| 1314 | stroke="currentColor" |
| 1315 | stroke-width="2" |
| 1316 | stroke-linecap="round" |
| 1317 | stroke-linejoin="round" |
| 1318 | > |
| 1319 | <rect width="14" height="14" x="8" y="8" rx="2" ry="2"></rect> |
| 1320 | <path d="m4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"></path> |
| 1321 | </svg> |
| 1322 | <svg |
| 1323 | class="check-icon" |
| 1324 | xmlns="http://www.w3.org/2000/svg" |
| 1325 | width="14" |
| 1326 | height="14" |
| 1327 | viewBox="0 0 24 24" |
| 1328 | fill="none" |
| 1329 | stroke="currentColor" |
| 1330 | stroke-width="2" |
| 1331 | stroke-linecap="round" |
| 1332 | stroke-linejoin="round" |
| 1333 | style="display: none;" |
| 1334 | > |
| 1335 | <polyline points="20,6 9,17 4,12"></polyline> |
| 1336 | </svg> |
| 1337 | </button> |
| 1338 | ); |
| 1339 | } |
| 1340 | |
| 1341 | function MobileMenu(props: { active: "models" | "providers" | "labs" }) { |
| 1342 | return ( |
nothing calls this directly
no outgoing calls
no test coverage detected