1// Jest Snapshot v1, https://goo.gl/fbAQLP 2 3exports[`APISectionUtils.CommentTextBlock component basic comment 1`] = ` 4<div> 5 <p 6 class="css-6jxvia-P" 7 data-text="true" 8 > 9 This is the basic comment. 10 </p> 11</div> 12`; 13 14exports[`APISectionUtils.CommentTextBlock component basic inline comment 1`] = ` 15<div> 16 - 17 <span> 18 This is the basic comment. 19 </span> 20</div> 21`; 22 23exports[`APISectionUtils.CommentTextBlock component comment with example 1`] = ` 24<div> 25 <p 26 class="css-6jxvia-P" 27 data-text="true" 28 > 29 <strong 30 class="css-1qx481h-B" 31 > 32 Android only. 33 </strong> 34 Gets the referrer URL of the installed app with the 35 <a 36 class="css-ccg2mn-ExternalLink" 37 href="https://developer.android.com/google/play/installreferrer" 38 rel="noopener noreferrer" 39 > 40 <code 41 class="inline css-ov7own-InlineCode" 42 > 43 Install Referrer API 44 </code> 45 </a> 46 47from the Google Play Store. In practice, the referrer URL may not be a complete, absolute URL. 48 </p> 49 <div 50 class="css-1wdnwk5" 51 > 52 <h4 53 class="css-uucypz-H4" 54 data-heading="true" 55 > 56 Example 57 </h4> 58 </div> 59 <pre> 60 <pre 61 class="css-apshsk" 62 data-text="true" 63 > 64 <code 65 class="css-3rj4bb" 66 > 67 <span 68 class="token keyword" 69 > 70 await 71 </span> 72 73 <span 74 class="token maybe-class-name" 75 > 76 Application 77 </span> 78 <span 79 class="token punctuation" 80 > 81 . 82 </span> 83 <span 84 class="token method function property-access" 85 > 86 getInstallReferrerAsync 87 </span> 88 <span 89 class="token punctuation" 90 > 91 ( 92 </span> 93 <span 94 class="token punctuation" 95 > 96 ) 97 </span> 98 <span 99 class="token punctuation" 100 > 101 ; 102 </span> 103 104 105 <span 106 class="token comment" 107 > 108 // "utm_source=google-play&utm_medium=organic" 109 </span> 110 111 112 </code> 113 </pre> 114 </pre> 115</div> 116`; 117 118exports[`APISectionUtils.CommentTextBlock component no comment 1`] = `<div />`; 119 120exports[`APISectionUtils.resolveTypeName Promise 1`] = ` 121<div> 122 <a 123 class="css-ccg2mn-ExternalLink" 124 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 125 rel="noopener noreferrer" 126 > 127 Promise 128 </a> 129 < 130 <span> 131 void 132 </span> 133 > 134</div> 135`; 136 137exports[`APISectionUtils.resolveTypeName Promise with custom type 1`] = ` 138<div> 139 <a 140 class="css-ccg2mn-ExternalLink" 141 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 142 rel="noopener noreferrer" 143 > 144 Promise 145 </a> 146 < 147 <span> 148 <a 149 class="css-153g748-InternalLink" 150 href="/#appleauthenticationcredential" 151 > 152 AppleAuthenticationCredential 153 </a> 154 </span> 155 > 156</div> 157`; 158 159exports[`APISectionUtils.resolveTypeName Record 1`] = ` 160<div> 161 Record 162 < 163 <span> 164 string 165 , 166 </span> 167 <span> 168 any 169 </span> 170 > 171</div> 172`; 173 174exports[`APISectionUtils.resolveTypeName Record with union 1`] = ` 175<div> 176 Record 177 < 178 <span> 179 string 180 , 181 </span> 182 <span> 183 <span> 184 number 185 | 186 </span> 187 <span> 188 boolean 189 | 190 </span> 191 <span> 192 string 193 </span> 194 </span> 195 > 196</div> 197`; 198 199exports[`APISectionUtils.resolveTypeName alternative generic object notation 1`] = ` 200<div> 201 { [column]: any } 202</div> 203`; 204 205exports[`APISectionUtils.resolveTypeName custom type 1`] = ` 206<div> 207 <a 208 class="css-153g748-InternalLink" 209 href="/#speechsynthesisevent" 210 > 211 SpeechSynthesisEvent 212 </a> 213</div> 214`; 215 216exports[`APISectionUtils.resolveTypeName custom type array 1`] = ` 217<div> 218 <a 219 class="css-153g748-InternalLink" 220 href="/#appleauthenticationscope" 221 > 222 AppleAuthenticationScope 223 [] 224 </a> 225</div> 226`; 227 228exports[`APISectionUtils.resolveTypeName custom type non-linkable array 1`] = ` 229<div> 230 T[] 231</div> 232`; 233 234exports[`APISectionUtils.resolveTypeName custom type with single pick 1`] = ` 235<div> 236 <a 237 class="css-ccg2mn-ExternalLink" 238 href="https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys" 239 rel="noopener noreferrer" 240 > 241 Pick 242 </a> 243 < 244 <span> 245 <a 246 class="css-153g748-InternalLink" 247 href="/#fontresource" 248 > 249 FontResource 250 </a> 251 , 252 </span> 253 <span> 254 'display' 255 </span> 256 > 257</div> 258`; 259 260exports[`APISectionUtils.resolveTypeName function 1`] = ` 261<div> 262 () => 263 264 <span> 265 void 266 | 267 </span> 268 <span> 269 <a 270 class="css-153g748-InternalLink" 271 href="/#speecheventcallback" 272 > 273 SpeechEventCallback 274 </a> 275 </span> 276</div> 277`; 278 279exports[`APISectionUtils.resolveTypeName function with arguments 1`] = ` 280<div> 281 ( 282 <span> 283 error 284 : 285 <a 286 class="css-ccg2mn-ExternalLink" 287 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error" 288 rel="noopener noreferrer" 289 > 290 Error 291 </a> 292 </span> 293 ) 294 => 295 296 <span> 297 void 298 | 299 </span> 300 <span> 301 <a 302 class="css-153g748-InternalLink" 303 href="/#speecheventcallback" 304 > 305 SpeechEventCallback 306 </a> 307 </span> 308</div> 309`; 310 311exports[`APISectionUtils.resolveTypeName function with non-linkable custom type 1`] = ` 312<div> 313 ( 314 <span> 315 error 316 : 317 <a 318 class="css-ccg2mn-ExternalLink" 319 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error" 320 rel="noopener noreferrer" 321 > 322 Error 323 </a> 324 </span> 325 ) 326 => 327 328 void 329</div> 330`; 331 332exports[`APISectionUtils.resolveTypeName generic type 1`] = ` 333<div> 334 string 335</div> 336`; 337 338exports[`APISectionUtils.resolveTypeName generic type 2`] = ` 339<div> 340 <a 341 class="css-153g748-InternalLink" 342 href="/#pagedinfo" 343 > 344 PagedInfo 345 </a> 346 < 347 <span> 348 <a 349 class="css-153g748-InternalLink" 350 href="/#asset" 351 > 352 Asset 353 </a> 354 </span> 355 > 356</div> 357`; 358 359exports[`APISectionUtils.resolveTypeName generic type in Promise 1`] = ` 360<div> 361 <a 362 class="css-ccg2mn-ExternalLink" 363 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 364 rel="noopener noreferrer" 365 > 366 Promise 367 </a> 368 < 369 <span> 370 <a 371 class="css-153g748-InternalLink" 372 href="/#pagedinfo" 373 > 374 PagedInfo 375 </a> 376 < 377 <span> 378 <a 379 class="css-153g748-InternalLink" 380 href="/#asset" 381 > 382 Asset 383 </a> 384 </span> 385 > 386 </span> 387 > 388</div> 389`; 390 391exports[`APISectionUtils.resolveTypeName object reflection 1`] = ` 392<div> 393 { 394 395 <span> 396 397 target: 398 number 399 , 400 401 402 </span> 403 <span> 404 405 value: 406 boolean 407 408 409 </span> 410 } 411</div> 412`; 413 414exports[`APISectionUtils.resolveTypeName props with multiple omits 1`] = ` 415<div> 416 StyleProp 417 < 418 <span> 419 <a 420 class="css-ccg2mn-ExternalLink" 421 href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" 422 rel="noopener noreferrer" 423 > 424 Omit 425 </a> 426 < 427 <span> 428 <a 429 class="css-153g748-InternalLink" 430 href="/versions/latest/react-native/view-style-props" 431 > 432 ViewStyle 433 </a> 434 , 435 </span> 436 <span> 437 <span> 438 'backgroundColor' 439 | 440 </span> 441 <span> 442 'borderRadius' 443 </span> 444 </span> 445 > 446 </span> 447 > 448</div> 449`; 450 451exports[`APISectionUtils.resolveTypeName query type 1`] = ` 452<div> 453 React.ComponentProps 454 < 455 <span> 456 View 457 </span> 458 > 459</div> 460`; 461 462exports[`APISectionUtils.resolveTypeName tuple type 1`] = ` 463<div> 464 [ 465 <span> 466 <a 467 class="css-153g748-InternalLink" 468 href="/#sortbykey" 469 > 470 SortByKey 471 </a> 472 , 473 </span> 474 <span> 475 boolean 476 </span> 477 ] 478</div> 479`; 480 481exports[`APISectionUtils.resolveTypeName union 1`] = ` 482<div> 483 <span> 484 <a 485 class="css-153g748-InternalLink" 486 href="/#speecheventcallback" 487 > 488 SpeechEventCallback 489 </a> 490 | 491 </span> 492 <span> 493 null 494 </span> 495</div> 496`; 497 498exports[`APISectionUtils.resolveTypeName union of array values 1`] = ` 499<div> 500 ( 501 <span> 502 <a 503 class="css-153g748-InternalLink" 504 href="/#resultseterror" 505 > 506 ResultSetError 507 </a> 508 | 509 </span> 510 <span> 511 <a 512 class="css-153g748-InternalLink" 513 href="/#resultset" 514 > 515 ResultSet 516 </a> 517 </span> 518 ) 519 [] 520</div> 521`; 522 523exports[`APISectionUtils.resolveTypeName union with array 1`] = ` 524<div> 525 <span> 526 number[] 527 | 528 </span> 529 <span> 530 null 531 </span> 532</div> 533`; 534 535exports[`APISectionUtils.resolveTypeName union with custom type and array 1`] = ` 536<div> 537 <span> 538 <a 539 class="css-153g748-InternalLink" 540 href="/#assetref" 541 > 542 AssetRef 543 [] 544 </a> 545 | 546 </span> 547 <span> 548 <a 549 class="css-153g748-InternalLink" 550 href="/#assetref" 551 > 552 AssetRef 553 </a> 554 </span> 555</div> 556`; 557 558exports[`APISectionUtils.resolveTypeName void 1`] = ` 559<div> 560 void 561</div> 562`; 563