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