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  <div
50    class="css-1krql6p-STYLES_NESTED_SECTION_HEADER"
51  >
52    <h4
53      class="css-838f5l-h4-h4-STYLES_H4"
54      data-heading="true"
55    >
56      Example
57    </h4>
58  </div>
59  <pre>
60    <pre
61      class="css-mv7gwa-STYLES_CODE_CONTAINER"
62      data-text="true"
63    >
64      <code
65        class="css-16ve5fg-STYLES_CODE_BLOCK"
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-12zqqiz-STYLES_EXTERNAL_LINK"
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  &lt;
130  <span>
131    void
132  </span>
133  &gt;
134</div>
135`;
136
137exports[`APISectionUtils.resolveTypeName Promise with custom type 1`] = `
138<div>
139  <a
140    class="css-12zqqiz-STYLES_EXTERNAL_LINK"
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  &lt;
147  <span>
148    <a
149      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
150      href="/#appleauthenticationcredential"
151    >
152      AppleAuthenticationCredential
153    </a>
154  </span>
155  &gt;
156</div>
157`;
158
159exports[`APISectionUtils.resolveTypeName Record 1`] = `
160<div>
161  Record
162  &lt;
163  <span>
164    string
165    ,
166  </span>
167  <span>
168    any
169  </span>
170  &gt;
171</div>
172`;
173
174exports[`APISectionUtils.resolveTypeName Record with union 1`] = `
175<div>
176  Record
177  &lt;
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  &gt;
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-12zqqiz-STYLES_EXTERNAL_LINK"
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-12zqqiz-STYLES_EXTERNAL_LINK"
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-12zqqiz-STYLES_EXTERNAL_LINK"
238    href="https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys"
239    rel="noopener noreferrer"
240  >
241    Pick
242  </a>
243  &lt;
244  <span>
245    <a
246      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
247      href="/#fontresource"
248    >
249      FontResource
250    </a>
251    ,
252  </span>
253  <span>
254    'display'
255  </span>
256  &gt;
257</div>
258`;
259
260exports[`APISectionUtils.resolveTypeName function 1`] = `
261<div>
262  () =&gt;
263
264  <span>
265    void
266     |
267  </span>
268  <span>
269    <a
270      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
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-12zqqiz-STYLES_EXTERNAL_LINK"
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  =&gt;
295
296  <span>
297    void
298     |
299  </span>
300  <span>
301    <a
302      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
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-12zqqiz-STYLES_EXTERNAL_LINK"
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  =&gt;
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-12zqqiz-STYLES_EXTERNAL_LINK"
342    href="/#pagedinfo"
343  >
344    PagedInfo
345  </a>
346  &lt;
347  <span>
348    <a
349      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
350      href="/#asset"
351    >
352      Asset
353    </a>
354  </span>
355  &gt;
356</div>
357`;
358
359exports[`APISectionUtils.resolveTypeName generic type in Promise 1`] = `
360<div>
361  <a
362    class="css-12zqqiz-STYLES_EXTERNAL_LINK"
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  &lt;
369  <span>
370    <a
371      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
372      href="/#pagedinfo"
373    >
374      PagedInfo
375    </a>
376    &lt;
377    <span>
378      <a
379        class="css-12zqqiz-STYLES_EXTERNAL_LINK"
380        href="/#asset"
381      >
382        Asset
383      </a>
384    </span>
385    &gt;
386  </span>
387  &gt;
388</div>
389`;
390
391exports[`APISectionUtils.resolveTypeName object reflection 1`] = `
392<div>
393  {
394  <span>
395    target: number
396    ,
397  </span>
398  <span>
399    value: boolean
400  </span>
401   }
402</div>
403`;
404
405exports[`APISectionUtils.resolveTypeName props with multiple omits 1`] = `
406<div>
407  StyleProp
408  &lt;
409  <span>
410    <a
411      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
412      href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys"
413      rel="noopener noreferrer"
414    >
415      Omit
416    </a>
417    &lt;
418    <span>
419      <a
420        class="css-12zqqiz-STYLES_EXTERNAL_LINK"
421        href="/versions/latest/react-native/view-style-props"
422      >
423        ViewStyle
424      </a>
425      ,
426    </span>
427    <span>
428      <span>
429        'backgroundColor'
430         |
431      </span>
432      <span>
433        'borderRadius'
434      </span>
435    </span>
436    &gt;
437  </span>
438  &gt;
439</div>
440`;
441
442exports[`APISectionUtils.resolveTypeName query type 1`] = `
443<div>
444  React.ComponentProps
445  &lt;
446  <span>
447    View
448  </span>
449  &gt;
450</div>
451`;
452
453exports[`APISectionUtils.resolveTypeName tuple type 1`] = `
454<div>
455  [
456  <span>
457    <a
458      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
459      href="/#sortbykey"
460    >
461      SortByKey
462    </a>
463    ,
464  </span>
465  <span>
466    boolean
467  </span>
468  ]
469</div>
470`;
471
472exports[`APISectionUtils.resolveTypeName union 1`] = `
473<div>
474  <span>
475    <a
476      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
477      href="/#speecheventcallback"
478    >
479      SpeechEventCallback
480    </a>
481     |
482  </span>
483  <span>
484    null
485  </span>
486</div>
487`;
488
489exports[`APISectionUtils.resolveTypeName union of array values 1`] = `
490<div>
491  (
492  <span>
493    <a
494      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
495      href="/#resultseterror"
496    >
497      ResultSetError
498    </a>
499     |
500  </span>
501  <span>
502    <a
503      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
504      href="/#resultset"
505    >
506      ResultSet
507    </a>
508  </span>
509  )
510  []
511</div>
512`;
513
514exports[`APISectionUtils.resolveTypeName union with array 1`] = `
515<div>
516  <span>
517    number[]
518     |
519  </span>
520  <span>
521    null
522  </span>
523</div>
524`;
525
526exports[`APISectionUtils.resolveTypeName union with custom type and array 1`] = `
527<div>
528  <span>
529    <a
530      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
531      href="/#assetref"
532    >
533      AssetRef
534      []
535    </a>
536     |
537  </span>
538  <span>
539    <a
540      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
541      href="/#assetref"
542    >
543      AssetRef
544    </a>
545  </span>
546</div>
547`;
548
549exports[`APISectionUtils.resolveTypeName void 1`] = `
550<div>
551  void
552</div>
553`;
554