@hero-design/rn 7.5.0 → 7.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/.turbo/turbo-build.log +8 -8
  2. package/es/index.js +474 -110
  3. package/lib/index.js +474 -108
  4. package/package.json +2 -2
  5. package/playground/.turbo/turbo-type-check.log +7 -0
  6. package/playground/package.json +3 -3
  7. package/playground/src/App.tsx +6 -0
  8. package/playground/src/ContentNavigator.tsx +3 -10
  9. package/playground/src/Select.tsx +32 -0
  10. package/playground/src/Switch.tsx +80 -0
  11. package/src/components/BottomSheet/Header.tsx +1 -1
  12. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +8 -8
  13. package/src/components/BottomSheet/index.tsx +6 -0
  14. package/src/components/Radio/RadioGroup.tsx +31 -7
  15. package/src/components/Radio/types.ts +1 -0
  16. package/src/components/SectionHeading/StyledHeading.tsx +5 -5
  17. package/src/components/SectionHeading/__tests__/{StyledHeading.tsx → StyledHeading.spec.tsx} +0 -0
  18. package/src/components/SectionHeading/__tests__/__snapshots__/{StyledHeading.tsx.snap → StyledHeading.spec.tsx.snap} +0 -0
  19. package/src/components/Select/MultiSelect/Footer.tsx +15 -0
  20. package/src/components/Select/MultiSelect/OptionList.tsx +76 -0
  21. package/src/components/Select/MultiSelect/StyledMultiSelect.tsx +30 -0
  22. package/src/components/Select/MultiSelect/__tests__/StyledMultiSelect.spec.tsx +49 -0
  23. package/src/components/Select/MultiSelect/__tests__/__snapshots__/StyledMultiSelect.spec.tsx.snap +108 -0
  24. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +1630 -0
  25. package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +94 -0
  26. package/src/components/Select/MultiSelect/index.tsx +103 -0
  27. package/src/components/Select/MultiSelect/types.ts +1 -0
  28. package/src/components/Select/index.tsx +5 -0
  29. package/src/components/Switch/StyledSwitch.tsx +50 -0
  30. package/src/components/Switch/__tests__/StyledHeading.spec.tsx +42 -0
  31. package/src/components/Switch/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +74 -0
  32. package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +129 -0
  33. package/src/components/Switch/__tests__/index.spec.tsx +24 -0
  34. package/src/components/Switch/index.tsx +87 -0
  35. package/src/components/TextInput/StyledTextInput.tsx +2 -6
  36. package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +1 -7
  37. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +1 -22
  38. package/src/components/TextInput/__tests__/index.spec.tsx +2 -1
  39. package/src/components/TextInput/index.tsx +19 -6
  40. package/src/index.ts +4 -0
  41. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +58 -1
  42. package/src/theme/components/sectionHeading.ts +18 -0
  43. package/src/theme/components/select.ts +23 -0
  44. package/src/theme/components/switch.ts +50 -0
  45. package/src/theme/components/textInput.ts +1 -1
  46. package/src/theme/global/colors.ts +1 -0
  47. package/src/theme/index.ts +12 -3
  48. package/types/components/BottomSheet/index.d.ts +5 -1
  49. package/types/components/Radio/RadioGroup.d.ts +11 -8
  50. package/types/components/Radio/index.d.ts +1 -1
  51. package/types/components/Radio/types.d.ts +5 -0
  52. package/types/components/SectionHeading/__tests__/{StyledHeading.d.ts → StyledHeading.spec.d.ts} +0 -0
  53. package/types/components/Select/MultiSelect/Footer.d.ts +5 -0
  54. package/types/components/Select/MultiSelect/OptionList.d.ts +3 -0
  55. package/types/components/Select/MultiSelect/StyledMultiSelect.d.ts +26 -0
  56. package/types/components/Select/MultiSelect/__tests__/StyledMultiSelect.spec.d.ts +1 -0
  57. package/types/components/Select/MultiSelect/__tests__/index.spec.d.ts +1 -0
  58. package/types/components/Select/MultiSelect/index.d.ts +39 -0
  59. package/types/components/Select/MultiSelect/types.d.ts +5 -0
  60. package/types/components/Select/index.d.ts +5 -0
  61. package/types/components/Switch/StyledSwitch.d.ts +36 -0
  62. package/types/components/Switch/__tests__/StyledHeading.spec.d.ts +1 -0
  63. package/types/components/Switch/__tests__/index.spec.d.ts +1 -0
  64. package/types/components/Switch/index.d.ts +30 -0
  65. package/types/components/TextInput/StyledTextInput.d.ts +1 -5
  66. package/types/components/TextInput/index.d.ts +13 -5
  67. package/types/index.d.ts +3 -1
  68. package/types/theme/components/sectionHeading.d.ts +13 -0
  69. package/types/theme/components/select.d.ts +17 -0
  70. package/types/theme/components/switch.d.ts +32 -0
  71. package/types/theme/components/textInput.d.ts +1 -1
  72. package/types/theme/global/colors.d.ts +1 -0
  73. package/types/theme/global/index.d.ts +1 -0
  74. package/types/theme/index.d.ts +8 -2
@@ -0,0 +1,1630 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`rendering renders correctly when bottom sheet is NOT visible 1`] = `
4
+ <View
5
+ accessible={true}
6
+ collapsable={false}
7
+ focusable={true}
8
+ nativeID="animatedComponent"
9
+ onClick={[Function]}
10
+ onResponderGrant={[Function]}
11
+ onResponderMove={[Function]}
12
+ onResponderRelease={[Function]}
13
+ onResponderTerminate={[Function]}
14
+ onResponderTerminationRequest={[Function]}
15
+ onStartShouldSetResponder={[Function]}
16
+ style={
17
+ Object {
18
+ "opacity": 1,
19
+ }
20
+ }
21
+ >
22
+ <View
23
+ style={
24
+ Array [
25
+ Object {
26
+ "alignItems": "center",
27
+ "borderRadius": 8,
28
+ "borderWidth": 1,
29
+ "flexDirection": "row",
30
+ "padding": 16,
31
+ "position": "relative",
32
+ "width": "100%",
33
+ },
34
+ undefined,
35
+ ]
36
+ }
37
+ >
38
+ <Text
39
+ style={
40
+ Array [
41
+ Object {
42
+ "color": "#292a2b",
43
+ "fontFamily": "BeVietnamPro-Regular",
44
+ "fontSize": 12,
45
+ "letterSpacing": 0.36,
46
+ "lineHeight": 20,
47
+ },
48
+ Array [
49
+ Object {
50
+ "backgroundColor": "#ffffff",
51
+ "left": 16,
52
+ "paddingHorizontal": 4,
53
+ "position": "absolute",
54
+ "top": -10,
55
+ "zIndex": 1,
56
+ },
57
+ undefined,
58
+ ],
59
+ ]
60
+ }
61
+ testID="input-label"
62
+ themeFontSize="small"
63
+ themeFontWeight="regular"
64
+ themeIntent="body"
65
+ >
66
+ Allow notifications
67
+ </Text>
68
+ <TextInput
69
+ editable={false}
70
+ multiline={true}
71
+ onPressIn={[Function]}
72
+ style={
73
+ Array [
74
+ Object {
75
+ "flex": 1,
76
+ "fontSize": 16,
77
+ "marginHorizontal": 8,
78
+ },
79
+ Object {
80
+ "color": "#292a2b",
81
+ },
82
+ ]
83
+ }
84
+ testID="text-input"
85
+ value="Monday, Tuesday"
86
+ />
87
+ <HeroIcon
88
+ name="arrow-down"
89
+ style={
90
+ Array [
91
+ Object {
92
+ "color": "#292a2b",
93
+ "fontSize": 16,
94
+ },
95
+ undefined,
96
+ ]
97
+ }
98
+ testID="input-suffix"
99
+ themeIntent="text"
100
+ themeSize="xsmall"
101
+ />
102
+ </View>
103
+ <Modal
104
+ hardwareAccelerated={false}
105
+ onRequestClose={[Function]}
106
+ transparent={true}
107
+ visible={false}
108
+ >
109
+ <View
110
+ pointerEvents="box-none"
111
+ style={
112
+ Array [
113
+ Object {
114
+ "bottom": 0,
115
+ "flexDirection": "column-reverse",
116
+ "left": 0,
117
+ "position": "absolute",
118
+ "right": 0,
119
+ "top": 0,
120
+ },
121
+ undefined,
122
+ ]
123
+ }
124
+ >
125
+ <View
126
+ accessible={true}
127
+ collapsable={false}
128
+ focusable={true}
129
+ nativeID="animatedComponent"
130
+ onBlur={[Function]}
131
+ onClick={[Function]}
132
+ onFocus={[Function]}
133
+ onResponderGrant={[Function]}
134
+ onResponderMove={[Function]}
135
+ onResponderRelease={[Function]}
136
+ onResponderTerminate={[Function]}
137
+ onResponderTerminationRequest={[Function]}
138
+ onStartShouldSetResponder={[Function]}
139
+ style={
140
+ Object {
141
+ "backgroundColor": "#292a2b",
142
+ "bottom": 0,
143
+ "left": 0,
144
+ "opacity": 0.48,
145
+ "position": "absolute",
146
+ "right": 0,
147
+ "top": 0,
148
+ }
149
+ }
150
+ />
151
+ <View
152
+ collapsable={false}
153
+ nativeID="animatedComponent"
154
+ onLayout={[Function]}
155
+ style={
156
+ Object {
157
+ "backgroundColor": "#ffffff",
158
+ "borderTopLeftRadius": 16,
159
+ "borderTopRightRadius": 16,
160
+ "elevation": 10,
161
+ "maxHeight": "94%",
162
+ "shadowColor": "#292a2b",
163
+ "shadowOffset": Object {
164
+ "height": 3,
165
+ "width": 0,
166
+ },
167
+ "shadowOpacity": 0.27,
168
+ "shadowRadius": 4.65,
169
+ "transform": Array [
170
+ Object {
171
+ "scaleY": 0,
172
+ },
173
+ Object {
174
+ "translateY": 0,
175
+ },
176
+ ],
177
+ "width": "100%",
178
+ }
179
+ }
180
+ >
181
+ <View
182
+ style={
183
+ Array [
184
+ Object {
185
+ "flexDirection": "row",
186
+ "minHeight": 64,
187
+ },
188
+ undefined,
189
+ ]
190
+ }
191
+ >
192
+ <View
193
+ adjacentIcon={true}
194
+ style={
195
+ Array [
196
+ Object {
197
+ "flex": 1,
198
+ "justifyContent": "center",
199
+ "paddingLeft": 24,
200
+ "paddingRight": 0,
201
+ "paddingVertical": 8,
202
+ },
203
+ undefined,
204
+ ]
205
+ }
206
+ >
207
+ <Text
208
+ style={
209
+ Array [
210
+ Object {
211
+ "color": "#292a2b",
212
+ "fontFamily": "BeVietnamPro-SemiBold",
213
+ "fontSize": 16,
214
+ "letterSpacing": 0.48,
215
+ "lineHeight": 24,
216
+ },
217
+ undefined,
218
+ ]
219
+ }
220
+ themeFontSize="large"
221
+ themeFontWeight="semi-bold"
222
+ themeIntent="body"
223
+ >
224
+ Allow notifications
225
+ </Text>
226
+ </View>
227
+ <View
228
+ style={
229
+ Array [
230
+ Object {
231
+ "alignItems": "center",
232
+ "justifyContent": "center",
233
+ "width": 72,
234
+ },
235
+ undefined,
236
+ ]
237
+ }
238
+ >
239
+ <View
240
+ accessible={true}
241
+ collapsable={false}
242
+ focusable={true}
243
+ nativeID="animatedComponent"
244
+ onClick={[Function]}
245
+ onResponderGrant={[Function]}
246
+ onResponderMove={[Function]}
247
+ onResponderRelease={[Function]}
248
+ onResponderTerminate={[Function]}
249
+ onResponderTerminationRequest={[Function]}
250
+ onStartShouldSetResponder={[Function]}
251
+ style={
252
+ Object {
253
+ "opacity": 1,
254
+ }
255
+ }
256
+ testID="bottom-sheet-close-icon"
257
+ >
258
+ <HeroIcon
259
+ name="cancel"
260
+ style={
261
+ Array [
262
+ Object {
263
+ "color": "#292a2b",
264
+ "fontSize": 24,
265
+ },
266
+ undefined,
267
+ ]
268
+ }
269
+ themeIntent="text"
270
+ themeSize="medium"
271
+ />
272
+ </View>
273
+ </View>
274
+ </View>
275
+ <View
276
+ style={
277
+ Array [
278
+ Object {
279
+ "borderBottomColor": "#dadbde",
280
+ "borderBottomWidth": 1,
281
+ "maxWidth": "100%",
282
+ },
283
+ undefined,
284
+ ]
285
+ }
286
+ />
287
+ <View
288
+ style={
289
+ Array [
290
+ Object {
291
+ "padding": 16,
292
+ },
293
+ undefined,
294
+ ]
295
+ }
296
+ >
297
+ <View
298
+ accessible={true}
299
+ collapsable={false}
300
+ focusable={true}
301
+ nativeID="animatedComponent"
302
+ onClick={[Function]}
303
+ onResponderGrant={[Function]}
304
+ onResponderMove={[Function]}
305
+ onResponderRelease={[Function]}
306
+ onResponderTerminate={[Function]}
307
+ onResponderTerminationRequest={[Function]}
308
+ onStartShouldSetResponder={[Function]}
309
+ style={
310
+ Object {
311
+ "alignItems": "center",
312
+ "backgroundColor": "#f1e9fb",
313
+ "borderRadius": 4,
314
+ "flexDirection": "row",
315
+ "justifyContent": "space-between",
316
+ "opacity": 1,
317
+ "padding": 16,
318
+ }
319
+ }
320
+ >
321
+ <View
322
+ style={
323
+ Object {
324
+ "flex": 1,
325
+ }
326
+ }
327
+ >
328
+ <Text
329
+ style={
330
+ Array [
331
+ Object {
332
+ "color": "#292a2b",
333
+ "fontFamily": "BeVietnamPro-Regular",
334
+ "fontSize": 16,
335
+ "letterSpacing": 0.48,
336
+ "lineHeight": 24,
337
+ },
338
+ undefined,
339
+ ]
340
+ }
341
+ themeFontSize="large"
342
+ themeFontWeight="regular"
343
+ themeIntent="body"
344
+ >
345
+ Monday
346
+ </Text>
347
+ </View>
348
+ <HeroIcon
349
+ name="checkmark"
350
+ style={
351
+ Array [
352
+ Object {
353
+ "color": "#292a2b",
354
+ "fontSize": 20,
355
+ },
356
+ undefined,
357
+ ]
358
+ }
359
+ themeIntent="text"
360
+ themeSize="small"
361
+ />
362
+ </View>
363
+ <View
364
+ style={
365
+ Array [
366
+ Object {
367
+ "marginTop": 4,
368
+ },
369
+ undefined,
370
+ ]
371
+ }
372
+ />
373
+ <View
374
+ accessible={true}
375
+ collapsable={false}
376
+ focusable={true}
377
+ nativeID="animatedComponent"
378
+ onClick={[Function]}
379
+ onResponderGrant={[Function]}
380
+ onResponderMove={[Function]}
381
+ onResponderRelease={[Function]}
382
+ onResponderTerminate={[Function]}
383
+ onResponderTerminationRequest={[Function]}
384
+ onStartShouldSetResponder={[Function]}
385
+ style={
386
+ Object {
387
+ "alignItems": "center",
388
+ "backgroundColor": "#f1e9fb",
389
+ "borderRadius": 4,
390
+ "flexDirection": "row",
391
+ "justifyContent": "space-between",
392
+ "opacity": 1,
393
+ "padding": 16,
394
+ }
395
+ }
396
+ >
397
+ <View
398
+ style={
399
+ Object {
400
+ "flex": 1,
401
+ }
402
+ }
403
+ >
404
+ <Text
405
+ style={
406
+ Array [
407
+ Object {
408
+ "color": "#292a2b",
409
+ "fontFamily": "BeVietnamPro-Regular",
410
+ "fontSize": 16,
411
+ "letterSpacing": 0.48,
412
+ "lineHeight": 24,
413
+ },
414
+ undefined,
415
+ ]
416
+ }
417
+ themeFontSize="large"
418
+ themeFontWeight="regular"
419
+ themeIntent="body"
420
+ >
421
+ Tuesday
422
+ </Text>
423
+ </View>
424
+ <HeroIcon
425
+ name="checkmark"
426
+ style={
427
+ Array [
428
+ Object {
429
+ "color": "#292a2b",
430
+ "fontSize": 20,
431
+ },
432
+ undefined,
433
+ ]
434
+ }
435
+ themeIntent="text"
436
+ themeSize="small"
437
+ />
438
+ </View>
439
+ <View
440
+ style={
441
+ Array [
442
+ Object {
443
+ "marginTop": 4,
444
+ },
445
+ undefined,
446
+ ]
447
+ }
448
+ />
449
+ <View
450
+ accessible={true}
451
+ collapsable={false}
452
+ focusable={true}
453
+ nativeID="animatedComponent"
454
+ onClick={[Function]}
455
+ onResponderGrant={[Function]}
456
+ onResponderMove={[Function]}
457
+ onResponderRelease={[Function]}
458
+ onResponderTerminate={[Function]}
459
+ onResponderTerminationRequest={[Function]}
460
+ onStartShouldSetResponder={[Function]}
461
+ style={
462
+ Object {
463
+ "alignItems": "center",
464
+ "backgroundColor": "#ffffff",
465
+ "borderRadius": 4,
466
+ "flexDirection": "row",
467
+ "justifyContent": "space-between",
468
+ "opacity": 1,
469
+ "padding": 16,
470
+ }
471
+ }
472
+ >
473
+ <View
474
+ style={
475
+ Object {
476
+ "flex": 1,
477
+ }
478
+ }
479
+ >
480
+ <Text
481
+ style={
482
+ Array [
483
+ Object {
484
+ "color": "#292a2b",
485
+ "fontFamily": "BeVietnamPro-Regular",
486
+ "fontSize": 16,
487
+ "letterSpacing": 0.48,
488
+ "lineHeight": 24,
489
+ },
490
+ undefined,
491
+ ]
492
+ }
493
+ themeFontSize="large"
494
+ themeFontWeight="regular"
495
+ themeIntent="body"
496
+ >
497
+ Wednesday
498
+ </Text>
499
+ </View>
500
+ </View>
501
+ <View
502
+ style={
503
+ Array [
504
+ Object {
505
+ "marginTop": 4,
506
+ },
507
+ undefined,
508
+ ]
509
+ }
510
+ />
511
+ <View
512
+ accessible={true}
513
+ collapsable={false}
514
+ focusable={true}
515
+ nativeID="animatedComponent"
516
+ onClick={[Function]}
517
+ onResponderGrant={[Function]}
518
+ onResponderMove={[Function]}
519
+ onResponderRelease={[Function]}
520
+ onResponderTerminate={[Function]}
521
+ onResponderTerminationRequest={[Function]}
522
+ onStartShouldSetResponder={[Function]}
523
+ style={
524
+ Object {
525
+ "alignItems": "center",
526
+ "backgroundColor": "#ffffff",
527
+ "borderRadius": 4,
528
+ "flexDirection": "row",
529
+ "justifyContent": "space-between",
530
+ "opacity": 1,
531
+ "padding": 16,
532
+ }
533
+ }
534
+ >
535
+ <View
536
+ style={
537
+ Object {
538
+ "flex": 1,
539
+ }
540
+ }
541
+ >
542
+ <Text
543
+ style={
544
+ Array [
545
+ Object {
546
+ "color": "#292a2b",
547
+ "fontFamily": "BeVietnamPro-Regular",
548
+ "fontSize": 16,
549
+ "letterSpacing": 0.48,
550
+ "lineHeight": 24,
551
+ },
552
+ undefined,
553
+ ]
554
+ }
555
+ themeFontSize="large"
556
+ themeFontWeight="regular"
557
+ themeIntent="body"
558
+ >
559
+ Thursday
560
+ </Text>
561
+ </View>
562
+ </View>
563
+ <View
564
+ style={
565
+ Array [
566
+ Object {
567
+ "marginTop": 4,
568
+ },
569
+ undefined,
570
+ ]
571
+ }
572
+ />
573
+ <View
574
+ accessible={true}
575
+ collapsable={false}
576
+ focusable={true}
577
+ nativeID="animatedComponent"
578
+ onClick={[Function]}
579
+ onResponderGrant={[Function]}
580
+ onResponderMove={[Function]}
581
+ onResponderRelease={[Function]}
582
+ onResponderTerminate={[Function]}
583
+ onResponderTerminationRequest={[Function]}
584
+ onStartShouldSetResponder={[Function]}
585
+ style={
586
+ Object {
587
+ "alignItems": "center",
588
+ "backgroundColor": "#ffffff",
589
+ "borderRadius": 4,
590
+ "flexDirection": "row",
591
+ "justifyContent": "space-between",
592
+ "opacity": 1,
593
+ "padding": 16,
594
+ }
595
+ }
596
+ >
597
+ <View
598
+ style={
599
+ Object {
600
+ "flex": 1,
601
+ }
602
+ }
603
+ >
604
+ <Text
605
+ style={
606
+ Array [
607
+ Object {
608
+ "color": "#292a2b",
609
+ "fontFamily": "BeVietnamPro-Regular",
610
+ "fontSize": 16,
611
+ "letterSpacing": 0.48,
612
+ "lineHeight": 24,
613
+ },
614
+ undefined,
615
+ ]
616
+ }
617
+ themeFontSize="large"
618
+ themeFontWeight="regular"
619
+ themeIntent="body"
620
+ >
621
+ Friday
622
+ </Text>
623
+ </View>
624
+ </View>
625
+ <View
626
+ style={
627
+ Array [
628
+ Object {
629
+ "marginTop": 4,
630
+ },
631
+ undefined,
632
+ ]
633
+ }
634
+ />
635
+ <View
636
+ accessible={true}
637
+ collapsable={false}
638
+ focusable={true}
639
+ nativeID="animatedComponent"
640
+ onClick={[Function]}
641
+ onResponderGrant={[Function]}
642
+ onResponderMove={[Function]}
643
+ onResponderRelease={[Function]}
644
+ onResponderTerminate={[Function]}
645
+ onResponderTerminationRequest={[Function]}
646
+ onStartShouldSetResponder={[Function]}
647
+ style={
648
+ Object {
649
+ "alignItems": "center",
650
+ "backgroundColor": "#ffffff",
651
+ "borderRadius": 4,
652
+ "flexDirection": "row",
653
+ "justifyContent": "space-between",
654
+ "opacity": 1,
655
+ "padding": 16,
656
+ }
657
+ }
658
+ >
659
+ <View
660
+ style={
661
+ Object {
662
+ "flex": 1,
663
+ }
664
+ }
665
+ >
666
+ <Text
667
+ style={
668
+ Array [
669
+ Object {
670
+ "color": "#292a2b",
671
+ "fontFamily": "BeVietnamPro-Regular",
672
+ "fontSize": 16,
673
+ "letterSpacing": 0.48,
674
+ "lineHeight": 24,
675
+ },
676
+ undefined,
677
+ ]
678
+ }
679
+ themeFontSize="large"
680
+ themeFontWeight="regular"
681
+ themeIntent="body"
682
+ >
683
+ Saturday
684
+ </Text>
685
+ </View>
686
+ </View>
687
+ <View
688
+ style={
689
+ Array [
690
+ Object {
691
+ "marginTop": 4,
692
+ },
693
+ undefined,
694
+ ]
695
+ }
696
+ />
697
+ <View
698
+ accessible={true}
699
+ collapsable={false}
700
+ focusable={true}
701
+ nativeID="animatedComponent"
702
+ onClick={[Function]}
703
+ onResponderGrant={[Function]}
704
+ onResponderMove={[Function]}
705
+ onResponderRelease={[Function]}
706
+ onResponderTerminate={[Function]}
707
+ onResponderTerminationRequest={[Function]}
708
+ onStartShouldSetResponder={[Function]}
709
+ style={
710
+ Object {
711
+ "alignItems": "center",
712
+ "backgroundColor": "#ffffff",
713
+ "borderRadius": 4,
714
+ "flexDirection": "row",
715
+ "justifyContent": "space-between",
716
+ "opacity": 1,
717
+ "padding": 16,
718
+ }
719
+ }
720
+ >
721
+ <View
722
+ style={
723
+ Object {
724
+ "flex": 1,
725
+ }
726
+ }
727
+ >
728
+ <Text
729
+ style={
730
+ Array [
731
+ Object {
732
+ "color": "#292a2b",
733
+ "fontFamily": "BeVietnamPro-Regular",
734
+ "fontSize": 16,
735
+ "letterSpacing": 0.48,
736
+ "lineHeight": 24,
737
+ },
738
+ undefined,
739
+ ]
740
+ }
741
+ themeFontSize="large"
742
+ themeFontWeight="regular"
743
+ themeIntent="body"
744
+ >
745
+ Sunday
746
+ </Text>
747
+ </View>
748
+ </View>
749
+ </View>
750
+ <View>
751
+ <View
752
+ style={
753
+ Array [
754
+ Object {
755
+ "borderBottomColor": "#dadbde",
756
+ "borderBottomWidth": 1,
757
+ "maxWidth": "100%",
758
+ },
759
+ undefined,
760
+ ]
761
+ }
762
+ />
763
+ <View
764
+ style={
765
+ Array [
766
+ Object {
767
+ "alignItems": "center",
768
+ "flexDirection": "row",
769
+ "justifyContent": "flex-end",
770
+ "minHeight": 64,
771
+ "paddingHorizontal": 24,
772
+ "paddingVertical": 8,
773
+ },
774
+ undefined,
775
+ ]
776
+ }
777
+ >
778
+ <View
779
+ accessible={true}
780
+ collapsable={false}
781
+ focusable={true}
782
+ nativeID="animatedComponent"
783
+ onClick={[Function]}
784
+ onResponderGrant={[Function]}
785
+ onResponderMove={[Function]}
786
+ onResponderRelease={[Function]}
787
+ onResponderTerminate={[Function]}
788
+ onResponderTerminationRequest={[Function]}
789
+ onStartShouldSetResponder={[Function]}
790
+ style={
791
+ Object {
792
+ "opacity": 1,
793
+ }
794
+ }
795
+ >
796
+ <Text
797
+ style={
798
+ Array [
799
+ Object {
800
+ "color": "#292a2b",
801
+ "fontFamily": "BeVietnamPro-SemiBold",
802
+ "fontSize": 16,
803
+ "letterSpacing": 0.48,
804
+ "lineHeight": 24,
805
+ },
806
+ Array [
807
+ Object {
808
+ "color": "#7622d7",
809
+ },
810
+ undefined,
811
+ ],
812
+ ]
813
+ }
814
+ themeFontSize="large"
815
+ themeFontWeight="semi-bold"
816
+ themeIntent="body"
817
+ >
818
+ Confirm
819
+ </Text>
820
+ </View>
821
+ </View>
822
+ </View>
823
+ </View>
824
+ </View>
825
+ </Modal>
826
+ </View>
827
+ `;
828
+
829
+ exports[`rendering renders correctly when bottom sheet is visible 1`] = `
830
+ <View
831
+ accessible={true}
832
+ focusable={true}
833
+ onClick={[Function]}
834
+ onResponderGrant={[Function]}
835
+ onResponderMove={[Function]}
836
+ onResponderRelease={[Function]}
837
+ onResponderTerminate={[Function]}
838
+ onResponderTerminationRequest={[Function]}
839
+ onStartShouldSetResponder={[Function]}
840
+ style={
841
+ Object {
842
+ "opacity": 1,
843
+ }
844
+ }
845
+ >
846
+ <View
847
+ style={
848
+ Array [
849
+ Object {
850
+ "alignItems": "center",
851
+ "borderRadius": 8,
852
+ "borderWidth": 1,
853
+ "flexDirection": "row",
854
+ "padding": 16,
855
+ "position": "relative",
856
+ "width": "100%",
857
+ },
858
+ undefined,
859
+ ]
860
+ }
861
+ >
862
+ <Text
863
+ style={
864
+ Array [
865
+ Object {
866
+ "color": "#292a2b",
867
+ "fontFamily": "BeVietnamPro-Regular",
868
+ "fontSize": 12,
869
+ "letterSpacing": 0.36,
870
+ "lineHeight": 20,
871
+ },
872
+ Array [
873
+ Object {
874
+ "backgroundColor": "#ffffff",
875
+ "left": 16,
876
+ "paddingHorizontal": 4,
877
+ "position": "absolute",
878
+ "top": -10,
879
+ "zIndex": 1,
880
+ },
881
+ undefined,
882
+ ],
883
+ ]
884
+ }
885
+ testID="input-label"
886
+ themeFontSize="small"
887
+ themeFontWeight="regular"
888
+ themeIntent="body"
889
+ >
890
+ Allow notifications
891
+ </Text>
892
+ <TextInput
893
+ editable={false}
894
+ multiline={true}
895
+ onPressIn={[Function]}
896
+ style={
897
+ Array [
898
+ Object {
899
+ "flex": 1,
900
+ "fontSize": 16,
901
+ "marginHorizontal": 8,
902
+ },
903
+ Object {
904
+ "color": "#292a2b",
905
+ },
906
+ ]
907
+ }
908
+ testID="text-input"
909
+ value="Monday, Tuesday"
910
+ />
911
+ <HeroIcon
912
+ name="arrow-down"
913
+ style={
914
+ Array [
915
+ Object {
916
+ "color": "#292a2b",
917
+ "fontSize": 16,
918
+ },
919
+ undefined,
920
+ ]
921
+ }
922
+ testID="input-suffix"
923
+ themeIntent="text"
924
+ themeSize="xsmall"
925
+ />
926
+ </View>
927
+ <Modal
928
+ hardwareAccelerated={false}
929
+ onRequestClose={[Function]}
930
+ transparent={true}
931
+ visible={true}
932
+ >
933
+ <View
934
+ pointerEvents="box-none"
935
+ style={
936
+ Array [
937
+ Object {
938
+ "bottom": 0,
939
+ "flexDirection": "column-reverse",
940
+ "left": 0,
941
+ "position": "absolute",
942
+ "right": 0,
943
+ "top": 0,
944
+ },
945
+ undefined,
946
+ ]
947
+ }
948
+ >
949
+ <View
950
+ accessible={true}
951
+ collapsable={false}
952
+ focusable={true}
953
+ onBlur={[Function]}
954
+ onClick={[Function]}
955
+ onFocus={[Function]}
956
+ onResponderGrant={[Function]}
957
+ onResponderMove={[Function]}
958
+ onResponderRelease={[Function]}
959
+ onResponderTerminate={[Function]}
960
+ onResponderTerminationRequest={[Function]}
961
+ onStartShouldSetResponder={[Function]}
962
+ style={
963
+ Object {
964
+ "backgroundColor": "#292a2b",
965
+ "bottom": 0,
966
+ "left": 0,
967
+ "opacity": 0.48,
968
+ "position": "absolute",
969
+ "right": 0,
970
+ "top": 0,
971
+ }
972
+ }
973
+ />
974
+ <View
975
+ onLayout={[Function]}
976
+ style={
977
+ Object {
978
+ "backgroundColor": "#ffffff",
979
+ "borderTopLeftRadius": 16,
980
+ "borderTopRightRadius": 16,
981
+ "elevation": 10,
982
+ "maxHeight": "94%",
983
+ "shadowColor": "#292a2b",
984
+ "shadowOffset": Object {
985
+ "height": 3,
986
+ "width": 0,
987
+ },
988
+ "shadowOpacity": 0.27,
989
+ "shadowRadius": 4.65,
990
+ "transform": Array [
991
+ Object {
992
+ "scaleY": 0,
993
+ },
994
+ Object {
995
+ "translateY": 0,
996
+ },
997
+ ],
998
+ "width": "100%",
999
+ }
1000
+ }
1001
+ >
1002
+ <View
1003
+ style={
1004
+ Array [
1005
+ Object {
1006
+ "flexDirection": "row",
1007
+ "minHeight": 64,
1008
+ },
1009
+ undefined,
1010
+ ]
1011
+ }
1012
+ >
1013
+ <View
1014
+ adjacentIcon={true}
1015
+ style={
1016
+ Array [
1017
+ Object {
1018
+ "flex": 1,
1019
+ "justifyContent": "center",
1020
+ "paddingLeft": 24,
1021
+ "paddingRight": 0,
1022
+ "paddingVertical": 8,
1023
+ },
1024
+ undefined,
1025
+ ]
1026
+ }
1027
+ >
1028
+ <Text
1029
+ style={
1030
+ Array [
1031
+ Object {
1032
+ "color": "#292a2b",
1033
+ "fontFamily": "BeVietnamPro-SemiBold",
1034
+ "fontSize": 16,
1035
+ "letterSpacing": 0.48,
1036
+ "lineHeight": 24,
1037
+ },
1038
+ undefined,
1039
+ ]
1040
+ }
1041
+ themeFontSize="large"
1042
+ themeFontWeight="semi-bold"
1043
+ themeIntent="body"
1044
+ >
1045
+ Allow notifications
1046
+ </Text>
1047
+ </View>
1048
+ <View
1049
+ style={
1050
+ Array [
1051
+ Object {
1052
+ "alignItems": "center",
1053
+ "justifyContent": "center",
1054
+ "width": 72,
1055
+ },
1056
+ undefined,
1057
+ ]
1058
+ }
1059
+ >
1060
+ <View
1061
+ accessible={true}
1062
+ focusable={true}
1063
+ onClick={[Function]}
1064
+ onResponderGrant={[Function]}
1065
+ onResponderMove={[Function]}
1066
+ onResponderRelease={[Function]}
1067
+ onResponderTerminate={[Function]}
1068
+ onResponderTerminationRequest={[Function]}
1069
+ onStartShouldSetResponder={[Function]}
1070
+ style={
1071
+ Object {
1072
+ "opacity": 1,
1073
+ }
1074
+ }
1075
+ testID="bottom-sheet-close-icon"
1076
+ >
1077
+ <HeroIcon
1078
+ name="cancel"
1079
+ style={
1080
+ Array [
1081
+ Object {
1082
+ "color": "#292a2b",
1083
+ "fontSize": 24,
1084
+ },
1085
+ undefined,
1086
+ ]
1087
+ }
1088
+ themeIntent="text"
1089
+ themeSize="medium"
1090
+ />
1091
+ </View>
1092
+ </View>
1093
+ </View>
1094
+ <View
1095
+ style={
1096
+ Array [
1097
+ Object {
1098
+ "borderBottomColor": "#dadbde",
1099
+ "borderBottomWidth": 1,
1100
+ "maxWidth": "100%",
1101
+ },
1102
+ undefined,
1103
+ ]
1104
+ }
1105
+ />
1106
+ <View
1107
+ style={
1108
+ Array [
1109
+ Object {
1110
+ "padding": 16,
1111
+ },
1112
+ undefined,
1113
+ ]
1114
+ }
1115
+ >
1116
+ <View
1117
+ accessible={true}
1118
+ focusable={true}
1119
+ onClick={[Function]}
1120
+ onResponderGrant={[Function]}
1121
+ onResponderMove={[Function]}
1122
+ onResponderRelease={[Function]}
1123
+ onResponderTerminate={[Function]}
1124
+ onResponderTerminationRequest={[Function]}
1125
+ onStartShouldSetResponder={[Function]}
1126
+ style={
1127
+ Object {
1128
+ "alignItems": "center",
1129
+ "backgroundColor": "#f1e9fb",
1130
+ "borderRadius": 4,
1131
+ "flexDirection": "row",
1132
+ "justifyContent": "space-between",
1133
+ "opacity": 1,
1134
+ "padding": 16,
1135
+ }
1136
+ }
1137
+ >
1138
+ <View
1139
+ style={
1140
+ Object {
1141
+ "flex": 1,
1142
+ }
1143
+ }
1144
+ >
1145
+ <Text
1146
+ style={
1147
+ Array [
1148
+ Object {
1149
+ "color": "#292a2b",
1150
+ "fontFamily": "BeVietnamPro-Regular",
1151
+ "fontSize": 16,
1152
+ "letterSpacing": 0.48,
1153
+ "lineHeight": 24,
1154
+ },
1155
+ undefined,
1156
+ ]
1157
+ }
1158
+ themeFontSize="large"
1159
+ themeFontWeight="regular"
1160
+ themeIntent="body"
1161
+ >
1162
+ Monday
1163
+ </Text>
1164
+ </View>
1165
+ <HeroIcon
1166
+ name="checkmark"
1167
+ style={
1168
+ Array [
1169
+ Object {
1170
+ "color": "#292a2b",
1171
+ "fontSize": 20,
1172
+ },
1173
+ undefined,
1174
+ ]
1175
+ }
1176
+ themeIntent="text"
1177
+ themeSize="small"
1178
+ />
1179
+ </View>
1180
+ <View
1181
+ style={
1182
+ Array [
1183
+ Object {
1184
+ "marginTop": 4,
1185
+ },
1186
+ undefined,
1187
+ ]
1188
+ }
1189
+ />
1190
+ <View
1191
+ accessible={true}
1192
+ focusable={true}
1193
+ onClick={[Function]}
1194
+ onResponderGrant={[Function]}
1195
+ onResponderMove={[Function]}
1196
+ onResponderRelease={[Function]}
1197
+ onResponderTerminate={[Function]}
1198
+ onResponderTerminationRequest={[Function]}
1199
+ onStartShouldSetResponder={[Function]}
1200
+ style={
1201
+ Object {
1202
+ "alignItems": "center",
1203
+ "backgroundColor": "#f1e9fb",
1204
+ "borderRadius": 4,
1205
+ "flexDirection": "row",
1206
+ "justifyContent": "space-between",
1207
+ "opacity": 1,
1208
+ "padding": 16,
1209
+ }
1210
+ }
1211
+ >
1212
+ <View
1213
+ style={
1214
+ Object {
1215
+ "flex": 1,
1216
+ }
1217
+ }
1218
+ >
1219
+ <Text
1220
+ style={
1221
+ Array [
1222
+ Object {
1223
+ "color": "#292a2b",
1224
+ "fontFamily": "BeVietnamPro-Regular",
1225
+ "fontSize": 16,
1226
+ "letterSpacing": 0.48,
1227
+ "lineHeight": 24,
1228
+ },
1229
+ undefined,
1230
+ ]
1231
+ }
1232
+ themeFontSize="large"
1233
+ themeFontWeight="regular"
1234
+ themeIntent="body"
1235
+ >
1236
+ Tuesday
1237
+ </Text>
1238
+ </View>
1239
+ <HeroIcon
1240
+ name="checkmark"
1241
+ style={
1242
+ Array [
1243
+ Object {
1244
+ "color": "#292a2b",
1245
+ "fontSize": 20,
1246
+ },
1247
+ undefined,
1248
+ ]
1249
+ }
1250
+ themeIntent="text"
1251
+ themeSize="small"
1252
+ />
1253
+ </View>
1254
+ <View
1255
+ style={
1256
+ Array [
1257
+ Object {
1258
+ "marginTop": 4,
1259
+ },
1260
+ undefined,
1261
+ ]
1262
+ }
1263
+ />
1264
+ <View
1265
+ accessible={true}
1266
+ focusable={true}
1267
+ onClick={[Function]}
1268
+ onResponderGrant={[Function]}
1269
+ onResponderMove={[Function]}
1270
+ onResponderRelease={[Function]}
1271
+ onResponderTerminate={[Function]}
1272
+ onResponderTerminationRequest={[Function]}
1273
+ onStartShouldSetResponder={[Function]}
1274
+ style={
1275
+ Object {
1276
+ "alignItems": "center",
1277
+ "backgroundColor": "#ffffff",
1278
+ "borderRadius": 4,
1279
+ "flexDirection": "row",
1280
+ "justifyContent": "space-between",
1281
+ "opacity": 1,
1282
+ "padding": 16,
1283
+ }
1284
+ }
1285
+ >
1286
+ <View
1287
+ style={
1288
+ Object {
1289
+ "flex": 1,
1290
+ }
1291
+ }
1292
+ >
1293
+ <Text
1294
+ style={
1295
+ Array [
1296
+ Object {
1297
+ "color": "#292a2b",
1298
+ "fontFamily": "BeVietnamPro-Regular",
1299
+ "fontSize": 16,
1300
+ "letterSpacing": 0.48,
1301
+ "lineHeight": 24,
1302
+ },
1303
+ undefined,
1304
+ ]
1305
+ }
1306
+ themeFontSize="large"
1307
+ themeFontWeight="regular"
1308
+ themeIntent="body"
1309
+ >
1310
+ Wednesday
1311
+ </Text>
1312
+ </View>
1313
+ </View>
1314
+ <View
1315
+ style={
1316
+ Array [
1317
+ Object {
1318
+ "marginTop": 4,
1319
+ },
1320
+ undefined,
1321
+ ]
1322
+ }
1323
+ />
1324
+ <View
1325
+ accessible={true}
1326
+ focusable={true}
1327
+ onClick={[Function]}
1328
+ onResponderGrant={[Function]}
1329
+ onResponderMove={[Function]}
1330
+ onResponderRelease={[Function]}
1331
+ onResponderTerminate={[Function]}
1332
+ onResponderTerminationRequest={[Function]}
1333
+ onStartShouldSetResponder={[Function]}
1334
+ style={
1335
+ Object {
1336
+ "alignItems": "center",
1337
+ "backgroundColor": "#ffffff",
1338
+ "borderRadius": 4,
1339
+ "flexDirection": "row",
1340
+ "justifyContent": "space-between",
1341
+ "opacity": 1,
1342
+ "padding": 16,
1343
+ }
1344
+ }
1345
+ >
1346
+ <View
1347
+ style={
1348
+ Object {
1349
+ "flex": 1,
1350
+ }
1351
+ }
1352
+ >
1353
+ <Text
1354
+ style={
1355
+ Array [
1356
+ Object {
1357
+ "color": "#292a2b",
1358
+ "fontFamily": "BeVietnamPro-Regular",
1359
+ "fontSize": 16,
1360
+ "letterSpacing": 0.48,
1361
+ "lineHeight": 24,
1362
+ },
1363
+ undefined,
1364
+ ]
1365
+ }
1366
+ themeFontSize="large"
1367
+ themeFontWeight="regular"
1368
+ themeIntent="body"
1369
+ >
1370
+ Thursday
1371
+ </Text>
1372
+ </View>
1373
+ </View>
1374
+ <View
1375
+ style={
1376
+ Array [
1377
+ Object {
1378
+ "marginTop": 4,
1379
+ },
1380
+ undefined,
1381
+ ]
1382
+ }
1383
+ />
1384
+ <View
1385
+ accessible={true}
1386
+ focusable={true}
1387
+ onClick={[Function]}
1388
+ onResponderGrant={[Function]}
1389
+ onResponderMove={[Function]}
1390
+ onResponderRelease={[Function]}
1391
+ onResponderTerminate={[Function]}
1392
+ onResponderTerminationRequest={[Function]}
1393
+ onStartShouldSetResponder={[Function]}
1394
+ style={
1395
+ Object {
1396
+ "alignItems": "center",
1397
+ "backgroundColor": "#ffffff",
1398
+ "borderRadius": 4,
1399
+ "flexDirection": "row",
1400
+ "justifyContent": "space-between",
1401
+ "opacity": 1,
1402
+ "padding": 16,
1403
+ }
1404
+ }
1405
+ >
1406
+ <View
1407
+ style={
1408
+ Object {
1409
+ "flex": 1,
1410
+ }
1411
+ }
1412
+ >
1413
+ <Text
1414
+ style={
1415
+ Array [
1416
+ Object {
1417
+ "color": "#292a2b",
1418
+ "fontFamily": "BeVietnamPro-Regular",
1419
+ "fontSize": 16,
1420
+ "letterSpacing": 0.48,
1421
+ "lineHeight": 24,
1422
+ },
1423
+ undefined,
1424
+ ]
1425
+ }
1426
+ themeFontSize="large"
1427
+ themeFontWeight="regular"
1428
+ themeIntent="body"
1429
+ >
1430
+ Friday
1431
+ </Text>
1432
+ </View>
1433
+ </View>
1434
+ <View
1435
+ style={
1436
+ Array [
1437
+ Object {
1438
+ "marginTop": 4,
1439
+ },
1440
+ undefined,
1441
+ ]
1442
+ }
1443
+ />
1444
+ <View
1445
+ accessible={true}
1446
+ focusable={true}
1447
+ onClick={[Function]}
1448
+ onResponderGrant={[Function]}
1449
+ onResponderMove={[Function]}
1450
+ onResponderRelease={[Function]}
1451
+ onResponderTerminate={[Function]}
1452
+ onResponderTerminationRequest={[Function]}
1453
+ onStartShouldSetResponder={[Function]}
1454
+ style={
1455
+ Object {
1456
+ "alignItems": "center",
1457
+ "backgroundColor": "#ffffff",
1458
+ "borderRadius": 4,
1459
+ "flexDirection": "row",
1460
+ "justifyContent": "space-between",
1461
+ "opacity": 1,
1462
+ "padding": 16,
1463
+ }
1464
+ }
1465
+ >
1466
+ <View
1467
+ style={
1468
+ Object {
1469
+ "flex": 1,
1470
+ }
1471
+ }
1472
+ >
1473
+ <Text
1474
+ style={
1475
+ Array [
1476
+ Object {
1477
+ "color": "#292a2b",
1478
+ "fontFamily": "BeVietnamPro-Regular",
1479
+ "fontSize": 16,
1480
+ "letterSpacing": 0.48,
1481
+ "lineHeight": 24,
1482
+ },
1483
+ undefined,
1484
+ ]
1485
+ }
1486
+ themeFontSize="large"
1487
+ themeFontWeight="regular"
1488
+ themeIntent="body"
1489
+ >
1490
+ Saturday
1491
+ </Text>
1492
+ </View>
1493
+ </View>
1494
+ <View
1495
+ style={
1496
+ Array [
1497
+ Object {
1498
+ "marginTop": 4,
1499
+ },
1500
+ undefined,
1501
+ ]
1502
+ }
1503
+ />
1504
+ <View
1505
+ accessible={true}
1506
+ focusable={true}
1507
+ onClick={[Function]}
1508
+ onResponderGrant={[Function]}
1509
+ onResponderMove={[Function]}
1510
+ onResponderRelease={[Function]}
1511
+ onResponderTerminate={[Function]}
1512
+ onResponderTerminationRequest={[Function]}
1513
+ onStartShouldSetResponder={[Function]}
1514
+ style={
1515
+ Object {
1516
+ "alignItems": "center",
1517
+ "backgroundColor": "#ffffff",
1518
+ "borderRadius": 4,
1519
+ "flexDirection": "row",
1520
+ "justifyContent": "space-between",
1521
+ "opacity": 1,
1522
+ "padding": 16,
1523
+ }
1524
+ }
1525
+ >
1526
+ <View
1527
+ style={
1528
+ Object {
1529
+ "flex": 1,
1530
+ }
1531
+ }
1532
+ >
1533
+ <Text
1534
+ style={
1535
+ Array [
1536
+ Object {
1537
+ "color": "#292a2b",
1538
+ "fontFamily": "BeVietnamPro-Regular",
1539
+ "fontSize": 16,
1540
+ "letterSpacing": 0.48,
1541
+ "lineHeight": 24,
1542
+ },
1543
+ undefined,
1544
+ ]
1545
+ }
1546
+ themeFontSize="large"
1547
+ themeFontWeight="regular"
1548
+ themeIntent="body"
1549
+ >
1550
+ Sunday
1551
+ </Text>
1552
+ </View>
1553
+ </View>
1554
+ </View>
1555
+ <View>
1556
+ <View
1557
+ style={
1558
+ Array [
1559
+ Object {
1560
+ "borderBottomColor": "#dadbde",
1561
+ "borderBottomWidth": 1,
1562
+ "maxWidth": "100%",
1563
+ },
1564
+ undefined,
1565
+ ]
1566
+ }
1567
+ />
1568
+ <View
1569
+ style={
1570
+ Array [
1571
+ Object {
1572
+ "alignItems": "center",
1573
+ "flexDirection": "row",
1574
+ "justifyContent": "flex-end",
1575
+ "minHeight": 64,
1576
+ "paddingHorizontal": 24,
1577
+ "paddingVertical": 8,
1578
+ },
1579
+ undefined,
1580
+ ]
1581
+ }
1582
+ >
1583
+ <View
1584
+ accessible={true}
1585
+ focusable={true}
1586
+ onClick={[Function]}
1587
+ onResponderGrant={[Function]}
1588
+ onResponderMove={[Function]}
1589
+ onResponderRelease={[Function]}
1590
+ onResponderTerminate={[Function]}
1591
+ onResponderTerminationRequest={[Function]}
1592
+ onStartShouldSetResponder={[Function]}
1593
+ style={
1594
+ Object {
1595
+ "opacity": 1,
1596
+ }
1597
+ }
1598
+ >
1599
+ <Text
1600
+ style={
1601
+ Array [
1602
+ Object {
1603
+ "color": "#292a2b",
1604
+ "fontFamily": "BeVietnamPro-SemiBold",
1605
+ "fontSize": 16,
1606
+ "letterSpacing": 0.48,
1607
+ "lineHeight": 24,
1608
+ },
1609
+ Array [
1610
+ Object {
1611
+ "color": "#7622d7",
1612
+ },
1613
+ undefined,
1614
+ ],
1615
+ ]
1616
+ }
1617
+ themeFontSize="large"
1618
+ themeFontWeight="semi-bold"
1619
+ themeIntent="body"
1620
+ >
1621
+ Confirm
1622
+ </Text>
1623
+ </View>
1624
+ </View>
1625
+ </View>
1626
+ </View>
1627
+ </View>
1628
+ </Modal>
1629
+ </View>
1630
+ `;