@hero-design/rn 7.10.2 → 7.12.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 (103) hide show
  1. package/.turbo/turbo-build.log +8 -8
  2. package/assets/fonts/hero-icons.ttf +0 -0
  3. package/es/index.js +3778 -728
  4. package/global-setup.js +3 -0
  5. package/jest.config.js +1 -0
  6. package/lib/assets/fonts/hero-icons.ttf +0 -0
  7. package/lib/index.js +3779 -726
  8. package/package.json +7 -3
  9. package/rollup.config.js +8 -1
  10. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  11. package/src/components/ContentNavigator/__tests__/index.spec.tsx +19 -2
  12. package/src/components/ContentNavigator/index.tsx +12 -1
  13. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
  14. package/src/components/FAB/ActionGroup/index.tsx +16 -5
  15. package/src/components/Icon/HeroIcon/selection.json +1 -1
  16. package/src/components/Icon/IconList.ts +1 -0
  17. package/src/components/PinInput/PinCell.tsx +34 -0
  18. package/src/components/PinInput/StyledPinInput.tsx +88 -0
  19. package/src/components/PinInput/__tests__/PinCell.spec.tsx +48 -0
  20. package/src/components/PinInput/__tests__/StyledPinInput.spec.tsx +22 -0
  21. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +186 -0
  22. package/src/components/PinInput/__tests__/__snapshots__/StyledPinInput.spec.tsx.snap +58 -0
  23. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +1028 -0
  24. package/src/components/PinInput/__tests__/index.spec.tsx +91 -0
  25. package/src/components/PinInput/index.tsx +173 -0
  26. package/src/components/Select/MultiSelect/Option.tsx +1 -1
  27. package/src/components/Select/MultiSelect/OptionList.tsx +48 -26
  28. package/src/components/Select/MultiSelect/__tests__/OptionList.spec.tsx +13 -0
  29. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +1062 -556
  30. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +983 -889
  31. package/src/components/Select/MultiSelect/index.tsx +59 -31
  32. package/src/components/Select/SingleSelect/OptionList.tsx +45 -26
  33. package/src/components/Select/SingleSelect/__tests__/OptionList.spec.tsx +8 -0
  34. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +992 -500
  35. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +880 -786
  36. package/src/components/Select/SingleSelect/index.tsx +60 -31
  37. package/src/components/Select/StyledOptionList.tsx +88 -0
  38. package/src/components/Select/StyledSelect.tsx +18 -16
  39. package/src/components/Select/__tests__/StyledSelect.spec.tsx +1 -14
  40. package/src/components/Select/__tests__/__snapshots__/StyledSelect.spec.tsx.snap +0 -13
  41. package/src/components/Select/types.tsx +47 -0
  42. package/src/components/TextInput/__tests__/index.spec.tsx +15 -0
  43. package/src/components/TextInput/index.tsx +20 -16
  44. package/src/components/TimePicker/StyledTimePicker.tsx +8 -0
  45. package/src/components/TimePicker/TimePickerAndroid.tsx +61 -0
  46. package/src/components/TimePicker/TimePickerIOS.tsx +91 -0
  47. package/src/components/TimePicker/__tests__/TimePicker.spec.tsx +34 -0
  48. package/src/components/TimePicker/__tests__/TimePickerAndroid.spec.tsx +39 -0
  49. package/src/components/TimePicker/__tests__/TimePickerIOS.spec.tsx +46 -0
  50. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +200 -0
  51. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +513 -0
  52. package/src/components/TimePicker/index.tsx +15 -0
  53. package/src/components/TimePicker/types.ts +50 -0
  54. package/src/components/Typography/Text/StyledText.tsx +1 -1
  55. package/src/components/Typography/Text/__tests__/StyledText.spec.tsx +1 -0
  56. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +22 -0
  57. package/src/components/Typography/Text/index.tsx +1 -1
  58. package/src/index.ts +4 -0
  59. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +44 -0
  60. package/src/theme/components/pinInput.ts +45 -0
  61. package/src/theme/components/select.ts +4 -0
  62. package/src/theme/components/timePicker.ts +11 -0
  63. package/src/theme/components/typography.ts +2 -0
  64. package/src/theme/global/colors.ts +1 -1
  65. package/src/theme/global/space.ts +10 -10
  66. package/src/theme/index.ts +9 -3
  67. package/testUtils/setup.tsx +10 -0
  68. package/types/components/ContentNavigator/index.d.ts +5 -1
  69. package/types/components/Icon/IconList.d.ts +1 -1
  70. package/types/components/Icon/utils.d.ts +1 -1
  71. package/types/components/PinInput/PinCell.d.ts +8 -0
  72. package/types/components/PinInput/StyledPinInput.d.ts +73 -0
  73. package/types/components/PinInput/__tests__/PinCell.spec.d.ts +1 -0
  74. package/types/components/PinInput/__tests__/StyledPinInput.spec.d.ts +1 -0
  75. package/types/components/PinInput/__tests__/index.spec.d.ts +1 -0
  76. package/types/components/PinInput/index.d.ts +48 -0
  77. package/types/components/Select/MultiSelect/OptionList.d.ts +1 -1
  78. package/types/components/Select/MultiSelect/index.d.ts +3 -25
  79. package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
  80. package/types/components/Select/SingleSelect/index.d.ts +4 -26
  81. package/types/components/Select/StyledOptionList.d.ts +17 -0
  82. package/types/components/Select/StyledSelect.d.ts +7 -7
  83. package/types/components/Select/index.d.ts +1 -1
  84. package/types/components/Select/types.d.ts +44 -0
  85. package/types/components/TimePicker/StyledTimePicker.d.ts +8 -0
  86. package/types/components/TimePicker/TimePickerAndroid.d.ts +3 -0
  87. package/types/components/TimePicker/TimePickerIOS.d.ts +3 -0
  88. package/types/components/TimePicker/__tests__/TimePicker.spec.d.ts +1 -0
  89. package/types/components/TimePicker/__tests__/TimePickerAndroid.spec.d.ts +1 -0
  90. package/types/components/TimePicker/__tests__/TimePickerIOS.spec.d.ts +1 -0
  91. package/types/components/TimePicker/index.d.ts +3 -0
  92. package/types/components/TimePicker/types.d.ts +49 -0
  93. package/types/components/Typography/Text/StyledText.d.ts +1 -1
  94. package/types/components/Typography/Text/index.d.ts +1 -1
  95. package/types/index.d.ts +3 -1
  96. package/types/theme/components/pinInput.d.ts +35 -0
  97. package/types/theme/components/select.d.ts +4 -0
  98. package/types/theme/components/timePicker.d.ts +6 -0
  99. package/types/theme/components/typography.d.ts +2 -0
  100. package/types/theme/index.d.ts +6 -2
  101. package/src/components/Select/types.ts +0 -1
  102. package/src/components/TextInput/__tests__/.log/ti-10343.log +0 -62
  103. package/src/components/TextInput/__tests__/.log/tsserver.log +0 -15584
@@ -1,627 +1,1133 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`OptionList renders correctly 1`] = `
4
- <View
5
- style={
3
+ exports[`OptionList render isLoading correctly 1`] = `
4
+ <RCTScrollView
5
+ ListFooterComponent={
6
+ <View
7
+ style={
8
+ Object {
9
+ "alignItems": "center",
10
+ "display": "flex",
11
+ "height": 56,
12
+ }
13
+ }
14
+ >
15
+ <Spinner />
16
+ </View>
17
+ }
18
+ data={
6
19
  Array [
7
20
  Object {
8
- "padding": 16,
21
+ "text": "A",
22
+ "value": "a",
23
+ },
24
+ Object {
25
+ "text": "B",
26
+ "value": "b",
27
+ },
28
+ Object {
29
+ "text": "C",
30
+ "value": "c",
9
31
  },
10
- undefined,
11
32
  ]
12
33
  }
13
- >
14
- <View
15
- accessible={true}
16
- collapsable={false}
17
- focusable={true}
18
- nativeID="animatedComponent"
19
- onClick={[Function]}
20
- onResponderGrant={[Function]}
21
- onResponderMove={[Function]}
22
- onResponderRelease={[Function]}
23
- onResponderTerminate={[Function]}
24
- onResponderTerminationRequest={[Function]}
25
- onStartShouldSetResponder={[Function]}
26
- style={
27
- Object {
28
- "alignItems": "center",
29
- "backgroundColor": "#f1e9fb",
30
- "borderRadius": 4,
31
- "flexDirection": "row",
32
- "justifyContent": "space-between",
33
- "opacity": 1,
34
- "padding": 16,
35
- }
34
+ getItem={[Function]}
35
+ getItemCount={[Function]}
36
+ keyExtractor={[Function]}
37
+ onContentSizeChange={[Function]}
38
+ onEndReached={[Function]}
39
+ onEndReachedThreshold={0.1}
40
+ onLayout={[Function]}
41
+ onMomentumScrollBegin={[Function]}
42
+ onMomentumScrollEnd={[Function]}
43
+ onScroll={[Function]}
44
+ onScrollBeginDrag={[Function]}
45
+ onScrollEndDrag={[Function]}
46
+ onScrollToIndexFailed={[Function]}
47
+ removeClippedSubviews={false}
48
+ renderItem={[Function]}
49
+ scrollEventThrottle={50}
50
+ stickyHeaderIndices={Array []}
51
+ style={
52
+ Object {
53
+ "paddingHorizontal": 16,
36
54
  }
37
- >
55
+ }
56
+ viewabilityConfigCallbackPairs={Array []}
57
+ >
58
+ <View>
38
59
  <View
39
- style={
40
- Object {
41
- "flex": 1,
42
- }
43
- }
60
+ onLayout={[Function]}
61
+ style={null}
44
62
  >
45
- <Text
46
- style={
47
- Array [
63
+ <View>
64
+ <View
65
+ accessible={true}
66
+ collapsable={false}
67
+ focusable={true}
68
+ nativeID="animatedComponent"
69
+ onClick={[Function]}
70
+ onResponderGrant={[Function]}
71
+ onResponderMove={[Function]}
72
+ onResponderRelease={[Function]}
73
+ onResponderTerminate={[Function]}
74
+ onResponderTerminationRequest={[Function]}
75
+ onStartShouldSetResponder={[Function]}
76
+ style={
48
77
  Object {
49
- "color": "#292a2b",
50
- "fontFamily": "BeVietnamPro-Regular",
51
- "fontSize": 16,
52
- "letterSpacing": 0.48,
53
- "lineHeight": 24,
54
- },
55
- undefined,
56
- ]
57
- }
58
- themeFontSize="large"
59
- themeFontWeight="regular"
60
- themeIntent="body"
61
- >
62
- A
63
- </Text>
78
+ "alignItems": "center",
79
+ "backgroundColor": "#f1e9fb",
80
+ "borderRadius": 4,
81
+ "flexDirection": "row",
82
+ "justifyContent": "space-between",
83
+ "opacity": 1,
84
+ "padding": 16,
85
+ }
86
+ }
87
+ >
88
+ <View
89
+ style={
90
+ Object {
91
+ "flex": 1,
92
+ }
93
+ }
94
+ >
95
+ <Text
96
+ style={
97
+ Array [
98
+ Object {
99
+ "color": "#292a2b",
100
+ "fontFamily": "BeVietnamPro-Regular",
101
+ "fontSize": 16,
102
+ "letterSpacing": 0.48,
103
+ "lineHeight": 24,
104
+ },
105
+ undefined,
106
+ ]
107
+ }
108
+ themeFontSize="large"
109
+ themeFontWeight="regular"
110
+ themeIntent="body"
111
+ >
112
+ A
113
+ </Text>
114
+ </View>
115
+ <HeroIcon
116
+ name="checkmark"
117
+ style={
118
+ Array [
119
+ Object {
120
+ "color": "#292a2b",
121
+ "fontSize": 20,
122
+ },
123
+ undefined,
124
+ ]
125
+ }
126
+ themeIntent="text"
127
+ themeSize="small"
128
+ />
129
+ </View>
130
+ </View>
64
131
  </View>
65
- <HeroIcon
66
- name="checkmark"
67
- style={
68
- Array [
69
- Object {
70
- "color": "#292a2b",
71
- "fontSize": 20,
72
- },
73
- undefined,
74
- ]
75
- }
76
- themeIntent="text"
77
- themeSize="small"
78
- />
79
- </View>
80
- <View
81
- style={
82
- Array [
83
- Object {
84
- "marginTop": 4,
85
- },
86
- undefined,
87
- ]
88
- }
89
- />
90
- <View
91
- accessible={true}
92
- collapsable={false}
93
- focusable={true}
94
- nativeID="animatedComponent"
95
- onClick={[Function]}
96
- onResponderGrant={[Function]}
97
- onResponderMove={[Function]}
98
- onResponderRelease={[Function]}
99
- onResponderTerminate={[Function]}
100
- onResponderTerminationRequest={[Function]}
101
- onStartShouldSetResponder={[Function]}
102
- style={
103
- Object {
104
- "alignItems": "center",
105
- "backgroundColor": "#ffffff",
106
- "borderRadius": 4,
107
- "flexDirection": "row",
108
- "justifyContent": "space-between",
109
- "opacity": 1,
110
- "padding": 16,
111
- }
112
- }
113
- >
114
132
  <View
115
- style={
116
- Object {
117
- "flex": 1,
118
- }
119
- }
133
+ onLayout={[Function]}
134
+ style={null}
120
135
  >
121
- <Text
122
- style={
123
- Array [
136
+ <View>
137
+ <View
138
+ accessible={true}
139
+ collapsable={false}
140
+ focusable={true}
141
+ nativeID="animatedComponent"
142
+ onClick={[Function]}
143
+ onResponderGrant={[Function]}
144
+ onResponderMove={[Function]}
145
+ onResponderRelease={[Function]}
146
+ onResponderTerminate={[Function]}
147
+ onResponderTerminationRequest={[Function]}
148
+ onStartShouldSetResponder={[Function]}
149
+ style={
150
+ Object {
151
+ "alignItems": "center",
152
+ "backgroundColor": "#ffffff",
153
+ "borderRadius": 4,
154
+ "flexDirection": "row",
155
+ "justifyContent": "space-between",
156
+ "opacity": 1,
157
+ "padding": 16,
158
+ }
159
+ }
160
+ >
161
+ <View
162
+ style={
163
+ Object {
164
+ "flex": 1,
165
+ }
166
+ }
167
+ >
168
+ <Text
169
+ style={
170
+ Array [
171
+ Object {
172
+ "color": "#292a2b",
173
+ "fontFamily": "BeVietnamPro-Regular",
174
+ "fontSize": 16,
175
+ "letterSpacing": 0.48,
176
+ "lineHeight": 24,
177
+ },
178
+ undefined,
179
+ ]
180
+ }
181
+ themeFontSize="large"
182
+ themeFontWeight="regular"
183
+ themeIntent="body"
184
+ >
185
+ B
186
+ </Text>
187
+ </View>
188
+ </View>
189
+ </View>
190
+ </View>
191
+ <View
192
+ onLayout={[Function]}
193
+ style={null}
194
+ >
195
+ <View>
196
+ <View
197
+ accessible={true}
198
+ collapsable={false}
199
+ focusable={true}
200
+ nativeID="animatedComponent"
201
+ onClick={[Function]}
202
+ onResponderGrant={[Function]}
203
+ onResponderMove={[Function]}
204
+ onResponderRelease={[Function]}
205
+ onResponderTerminate={[Function]}
206
+ onResponderTerminationRequest={[Function]}
207
+ onStartShouldSetResponder={[Function]}
208
+ style={
124
209
  Object {
125
- "color": "#292a2b",
126
- "fontFamily": "BeVietnamPro-Regular",
127
- "fontSize": 16,
128
- "letterSpacing": 0.48,
129
- "lineHeight": 24,
130
- },
131
- undefined,
132
- ]
210
+ "alignItems": "center",
211
+ "backgroundColor": "#ffffff",
212
+ "borderRadius": 4,
213
+ "flexDirection": "row",
214
+ "justifyContent": "space-between",
215
+ "opacity": 1,
216
+ "padding": 16,
217
+ }
218
+ }
219
+ >
220
+ <View
221
+ style={
222
+ Object {
223
+ "flex": 1,
224
+ }
225
+ }
226
+ >
227
+ <Text
228
+ style={
229
+ Array [
230
+ Object {
231
+ "color": "#292a2b",
232
+ "fontFamily": "BeVietnamPro-Regular",
233
+ "fontSize": 16,
234
+ "letterSpacing": 0.48,
235
+ "lineHeight": 24,
236
+ },
237
+ undefined,
238
+ ]
239
+ }
240
+ themeFontSize="large"
241
+ themeFontWeight="regular"
242
+ themeIntent="body"
243
+ >
244
+ C
245
+ </Text>
246
+ </View>
247
+ </View>
248
+ </View>
249
+ </View>
250
+ <View
251
+ onLayout={[Function]}
252
+ >
253
+ <View
254
+ style={
255
+ Object {
256
+ "alignItems": "center",
257
+ "display": "flex",
258
+ "height": 56,
259
+ }
133
260
  }
134
- themeFontSize="large"
135
- themeFontWeight="regular"
136
- themeIntent="body"
137
261
  >
138
- B
139
- </Text>
262
+ <View
263
+ style={
264
+ Array [
265
+ Object {},
266
+ undefined,
267
+ ]
268
+ }
269
+ >
270
+ <View
271
+ style={
272
+ Array [
273
+ Object {
274
+ "alignItems": "center",
275
+ "height": "100%",
276
+ "justifyContent": "center",
277
+ },
278
+ undefined,
279
+ ]
280
+ }
281
+ >
282
+ <View
283
+ collapsable={false}
284
+ nativeID="animatedComponent"
285
+ style={
286
+ Object {
287
+ "transform": Array [
288
+ Object {
289
+ "rotate": "0deg",
290
+ },
291
+ ],
292
+ }
293
+ }
294
+ >
295
+ <View
296
+ collapsable={false}
297
+ nativeID="animatedComponent"
298
+ style={
299
+ Array [
300
+ Object {
301
+ "flexDirection": "row",
302
+ "marginBottom": 8,
303
+ },
304
+ Object {},
305
+ ]
306
+ }
307
+ themePosition="top"
308
+ >
309
+ <View
310
+ collapsable={false}
311
+ nativeID="animatedComponent"
312
+ style={
313
+ Array [
314
+ Object {
315
+ "backgroundColor": "#7622d7",
316
+ "borderRadius": 8,
317
+ "height": 16,
318
+ "opacity": 1,
319
+ "width": 16,
320
+ },
321
+ Object {},
322
+ ]
323
+ }
324
+ themePosition="topLeft"
325
+ />
326
+ <View
327
+ collapsable={false}
328
+ nativeID="animatedComponent"
329
+ style={
330
+ Array [
331
+ Object {
332
+ "backgroundColor": "#7622d7",
333
+ "borderRadius": 8,
334
+ "height": 16,
335
+ "marginLeft": 8,
336
+ "opacity": 0.7,
337
+ "width": 16,
338
+ },
339
+ Object {},
340
+ ]
341
+ }
342
+ themePosition="topRight"
343
+ />
344
+ </View>
345
+ <View
346
+ collapsable={false}
347
+ nativeID="animatedComponent"
348
+ style={
349
+ Array [
350
+ Object {
351
+ "flexDirection": "row",
352
+ "marginBottom": 0,
353
+ },
354
+ Object {},
355
+ ]
356
+ }
357
+ themePosition="bottom"
358
+ >
359
+ <View
360
+ collapsable={false}
361
+ nativeID="animatedComponent"
362
+ style={
363
+ Array [
364
+ Object {
365
+ "backgroundColor": "#7622d7",
366
+ "borderRadius": 8,
367
+ "height": 16,
368
+ "opacity": 0.5,
369
+ "width": 16,
370
+ },
371
+ Object {},
372
+ ]
373
+ }
374
+ themePosition="bottomLeft"
375
+ />
376
+ <View
377
+ collapsable={false}
378
+ nativeID="animatedComponent"
379
+ style={
380
+ Array [
381
+ Object {
382
+ "backgroundColor": "#7622d7",
383
+ "borderRadius": 8,
384
+ "height": 16,
385
+ "marginLeft": 8,
386
+ "opacity": 0.3,
387
+ "width": 16,
388
+ },
389
+ Object {},
390
+ ]
391
+ }
392
+ themePosition="bottomRight"
393
+ />
394
+ </View>
395
+ </View>
396
+ </View>
397
+ </View>
398
+ </View>
140
399
  </View>
141
400
  </View>
142
- <View
143
- style={
144
- Array [
145
- Object {
146
- "marginTop": 4,
147
- },
148
- undefined,
149
- ]
150
- }
151
- />
152
- <View
153
- accessible={true}
154
- collapsable={false}
155
- focusable={true}
156
- nativeID="animatedComponent"
157
- onClick={[Function]}
158
- onResponderGrant={[Function]}
159
- onResponderMove={[Function]}
160
- onResponderRelease={[Function]}
161
- onResponderTerminate={[Function]}
162
- onResponderTerminationRequest={[Function]}
163
- onStartShouldSetResponder={[Function]}
164
- style={
401
+ </RCTScrollView>
402
+ `;
403
+
404
+ exports[`OptionList renders correctly 1`] = `
405
+ <RCTScrollView
406
+ ListFooterComponent={null}
407
+ data={
408
+ Array [
165
409
  Object {
166
- "alignItems": "center",
167
- "backgroundColor": "#ffffff",
168
- "borderRadius": 4,
169
- "flexDirection": "row",
170
- "justifyContent": "space-between",
171
- "opacity": 1,
172
- "padding": 16,
173
- }
410
+ "text": "A",
411
+ "value": "a",
412
+ },
413
+ Object {
414
+ "text": "B",
415
+ "value": "b",
416
+ },
417
+ Object {
418
+ "text": "C",
419
+ "value": "c",
420
+ },
421
+ ]
422
+ }
423
+ getItem={[Function]}
424
+ getItemCount={[Function]}
425
+ keyExtractor={[Function]}
426
+ onContentSizeChange={[Function]}
427
+ onEndReached={[Function]}
428
+ onEndReachedThreshold={0.1}
429
+ onLayout={[Function]}
430
+ onMomentumScrollBegin={[Function]}
431
+ onMomentumScrollEnd={[Function]}
432
+ onScroll={[Function]}
433
+ onScrollBeginDrag={[Function]}
434
+ onScrollEndDrag={[Function]}
435
+ onScrollToIndexFailed={[Function]}
436
+ removeClippedSubviews={false}
437
+ renderItem={[Function]}
438
+ scrollEventThrottle={50}
439
+ stickyHeaderIndices={Array []}
440
+ style={
441
+ Object {
442
+ "paddingHorizontal": 16,
174
443
  }
175
- >
444
+ }
445
+ viewabilityConfigCallbackPairs={Array []}
446
+ >
447
+ <View>
176
448
  <View
177
- style={
178
- Object {
179
- "flex": 1,
180
- }
181
- }
449
+ onLayout={[Function]}
450
+ style={null}
182
451
  >
183
- <Text
184
- style={
185
- Array [
452
+ <View>
453
+ <View
454
+ accessible={true}
455
+ collapsable={false}
456
+ focusable={true}
457
+ nativeID="animatedComponent"
458
+ onClick={[Function]}
459
+ onResponderGrant={[Function]}
460
+ onResponderMove={[Function]}
461
+ onResponderRelease={[Function]}
462
+ onResponderTerminate={[Function]}
463
+ onResponderTerminationRequest={[Function]}
464
+ onStartShouldSetResponder={[Function]}
465
+ style={
186
466
  Object {
187
- "color": "#292a2b",
188
- "fontFamily": "BeVietnamPro-Regular",
189
- "fontSize": 16,
190
- "letterSpacing": 0.48,
191
- "lineHeight": 24,
192
- },
193
- undefined,
194
- ]
195
- }
196
- themeFontSize="large"
197
- themeFontWeight="regular"
198
- themeIntent="body"
199
- >
200
- C
201
- </Text>
467
+ "alignItems": "center",
468
+ "backgroundColor": "#f1e9fb",
469
+ "borderRadius": 4,
470
+ "flexDirection": "row",
471
+ "justifyContent": "space-between",
472
+ "opacity": 1,
473
+ "padding": 16,
474
+ }
475
+ }
476
+ >
477
+ <View
478
+ style={
479
+ Object {
480
+ "flex": 1,
481
+ }
482
+ }
483
+ >
484
+ <Text
485
+ style={
486
+ Array [
487
+ Object {
488
+ "color": "#292a2b",
489
+ "fontFamily": "BeVietnamPro-Regular",
490
+ "fontSize": 16,
491
+ "letterSpacing": 0.48,
492
+ "lineHeight": 24,
493
+ },
494
+ undefined,
495
+ ]
496
+ }
497
+ themeFontSize="large"
498
+ themeFontWeight="regular"
499
+ themeIntent="body"
500
+ >
501
+ A
502
+ </Text>
503
+ </View>
504
+ <HeroIcon
505
+ name="checkmark"
506
+ style={
507
+ Array [
508
+ Object {
509
+ "color": "#292a2b",
510
+ "fontSize": 20,
511
+ },
512
+ undefined,
513
+ ]
514
+ }
515
+ themeIntent="text"
516
+ themeSize="small"
517
+ />
518
+ </View>
519
+ </View>
520
+ </View>
521
+ <View
522
+ onLayout={[Function]}
523
+ style={null}
524
+ >
525
+ <View>
526
+ <View
527
+ accessible={true}
528
+ collapsable={false}
529
+ focusable={true}
530
+ nativeID="animatedComponent"
531
+ onClick={[Function]}
532
+ onResponderGrant={[Function]}
533
+ onResponderMove={[Function]}
534
+ onResponderRelease={[Function]}
535
+ onResponderTerminate={[Function]}
536
+ onResponderTerminationRequest={[Function]}
537
+ onStartShouldSetResponder={[Function]}
538
+ style={
539
+ Object {
540
+ "alignItems": "center",
541
+ "backgroundColor": "#ffffff",
542
+ "borderRadius": 4,
543
+ "flexDirection": "row",
544
+ "justifyContent": "space-between",
545
+ "opacity": 1,
546
+ "padding": 16,
547
+ }
548
+ }
549
+ >
550
+ <View
551
+ style={
552
+ Object {
553
+ "flex": 1,
554
+ }
555
+ }
556
+ >
557
+ <Text
558
+ style={
559
+ Array [
560
+ Object {
561
+ "color": "#292a2b",
562
+ "fontFamily": "BeVietnamPro-Regular",
563
+ "fontSize": 16,
564
+ "letterSpacing": 0.48,
565
+ "lineHeight": 24,
566
+ },
567
+ undefined,
568
+ ]
569
+ }
570
+ themeFontSize="large"
571
+ themeFontWeight="regular"
572
+ themeIntent="body"
573
+ >
574
+ B
575
+ </Text>
576
+ </View>
577
+ </View>
578
+ </View>
579
+ </View>
580
+ <View
581
+ onLayout={[Function]}
582
+ style={null}
583
+ >
584
+ <View>
585
+ <View
586
+ accessible={true}
587
+ collapsable={false}
588
+ focusable={true}
589
+ nativeID="animatedComponent"
590
+ onClick={[Function]}
591
+ onResponderGrant={[Function]}
592
+ onResponderMove={[Function]}
593
+ onResponderRelease={[Function]}
594
+ onResponderTerminate={[Function]}
595
+ onResponderTerminationRequest={[Function]}
596
+ onStartShouldSetResponder={[Function]}
597
+ style={
598
+ Object {
599
+ "alignItems": "center",
600
+ "backgroundColor": "#ffffff",
601
+ "borderRadius": 4,
602
+ "flexDirection": "row",
603
+ "justifyContent": "space-between",
604
+ "opacity": 1,
605
+ "padding": 16,
606
+ }
607
+ }
608
+ >
609
+ <View
610
+ style={
611
+ Object {
612
+ "flex": 1,
613
+ }
614
+ }
615
+ >
616
+ <Text
617
+ style={
618
+ Array [
619
+ Object {
620
+ "color": "#292a2b",
621
+ "fontFamily": "BeVietnamPro-Regular",
622
+ "fontSize": 16,
623
+ "letterSpacing": 0.48,
624
+ "lineHeight": 24,
625
+ },
626
+ undefined,
627
+ ]
628
+ }
629
+ themeFontSize="large"
630
+ themeFontWeight="regular"
631
+ themeIntent="body"
632
+ >
633
+ C
634
+ </Text>
635
+ </View>
636
+ </View>
637
+ </View>
202
638
  </View>
203
639
  </View>
204
- </View>
640
+ </RCTScrollView>
205
641
  `;
206
642
 
207
643
  exports[`OptionList trigger onPress correctly on changing selection 1`] = `
208
- <View
209
- style={
644
+ <RCTScrollView
645
+ ListFooterComponent={null}
646
+ data={
210
647
  Array [
211
648
  Object {
212
- "padding": 16,
649
+ "text": "A",
650
+ "value": "a",
651
+ },
652
+ Object {
653
+ "text": "B",
654
+ "value": "b",
655
+ },
656
+ Object {
657
+ "text": "C",
658
+ "value": "c",
213
659
  },
214
- undefined,
215
660
  ]
216
661
  }
217
- >
218
- <View
219
- accessible={true}
220
- collapsable={false}
221
- focusable={true}
222
- nativeID="animatedComponent"
223
- onClick={[Function]}
224
- onResponderGrant={[Function]}
225
- onResponderMove={[Function]}
226
- onResponderRelease={[Function]}
227
- onResponderTerminate={[Function]}
228
- onResponderTerminationRequest={[Function]}
229
- onStartShouldSetResponder={[Function]}
230
- style={
231
- Object {
232
- "alignItems": "center",
233
- "backgroundColor": "#f1e9fb",
234
- "borderRadius": 4,
235
- "flexDirection": "row",
236
- "justifyContent": "space-between",
237
- "opacity": 1,
238
- "padding": 16,
239
- }
662
+ getItem={[Function]}
663
+ getItemCount={[Function]}
664
+ keyExtractor={[Function]}
665
+ onContentSizeChange={[Function]}
666
+ onEndReached={[Function]}
667
+ onEndReachedThreshold={0.1}
668
+ onLayout={[Function]}
669
+ onMomentumScrollBegin={[Function]}
670
+ onMomentumScrollEnd={[Function]}
671
+ onScroll={[Function]}
672
+ onScrollBeginDrag={[Function]}
673
+ onScrollEndDrag={[Function]}
674
+ onScrollToIndexFailed={[Function]}
675
+ removeClippedSubviews={false}
676
+ renderItem={[Function]}
677
+ scrollEventThrottle={50}
678
+ stickyHeaderIndices={Array []}
679
+ style={
680
+ Object {
681
+ "paddingHorizontal": 16,
240
682
  }
241
- >
683
+ }
684
+ viewabilityConfigCallbackPairs={Array []}
685
+ >
686
+ <View>
242
687
  <View
243
- style={
244
- Object {
245
- "flex": 1,
246
- }
247
- }
688
+ onLayout={[Function]}
689
+ style={null}
248
690
  >
249
- <Text
250
- style={
251
- Array [
691
+ <View>
692
+ <View
693
+ accessible={true}
694
+ collapsable={false}
695
+ focusable={true}
696
+ nativeID="animatedComponent"
697
+ onClick={[Function]}
698
+ onResponderGrant={[Function]}
699
+ onResponderMove={[Function]}
700
+ onResponderRelease={[Function]}
701
+ onResponderTerminate={[Function]}
702
+ onResponderTerminationRequest={[Function]}
703
+ onStartShouldSetResponder={[Function]}
704
+ style={
252
705
  Object {
253
- "color": "#292a2b",
254
- "fontFamily": "BeVietnamPro-Regular",
255
- "fontSize": 16,
256
- "letterSpacing": 0.48,
257
- "lineHeight": 24,
258
- },
259
- undefined,
260
- ]
261
- }
262
- themeFontSize="large"
263
- themeFontWeight="regular"
264
- themeIntent="body"
265
- >
266
- A
267
- </Text>
706
+ "alignItems": "center",
707
+ "backgroundColor": "#f1e9fb",
708
+ "borderRadius": 4,
709
+ "flexDirection": "row",
710
+ "justifyContent": "space-between",
711
+ "opacity": 1,
712
+ "padding": 16,
713
+ }
714
+ }
715
+ >
716
+ <View
717
+ style={
718
+ Object {
719
+ "flex": 1,
720
+ }
721
+ }
722
+ >
723
+ <Text
724
+ style={
725
+ Array [
726
+ Object {
727
+ "color": "#292a2b",
728
+ "fontFamily": "BeVietnamPro-Regular",
729
+ "fontSize": 16,
730
+ "letterSpacing": 0.48,
731
+ "lineHeight": 24,
732
+ },
733
+ undefined,
734
+ ]
735
+ }
736
+ themeFontSize="large"
737
+ themeFontWeight="regular"
738
+ themeIntent="body"
739
+ >
740
+ A
741
+ </Text>
742
+ </View>
743
+ <HeroIcon
744
+ name="checkmark"
745
+ style={
746
+ Array [
747
+ Object {
748
+ "color": "#292a2b",
749
+ "fontSize": 20,
750
+ },
751
+ undefined,
752
+ ]
753
+ }
754
+ themeIntent="text"
755
+ themeSize="small"
756
+ />
757
+ </View>
758
+ </View>
268
759
  </View>
269
- <HeroIcon
270
- name="checkmark"
271
- style={
272
- Array [
273
- Object {
274
- "color": "#292a2b",
275
- "fontSize": 20,
276
- },
277
- undefined,
278
- ]
279
- }
280
- themeIntent="text"
281
- themeSize="small"
282
- />
283
- </View>
284
- <View
285
- style={
286
- Array [
287
- Object {
288
- "marginTop": 4,
289
- },
290
- undefined,
291
- ]
292
- }
293
- />
294
- <View
295
- accessible={true}
296
- collapsable={false}
297
- focusable={true}
298
- nativeID="animatedComponent"
299
- onClick={[Function]}
300
- onResponderGrant={[Function]}
301
- onResponderMove={[Function]}
302
- onResponderRelease={[Function]}
303
- onResponderTerminate={[Function]}
304
- onResponderTerminationRequest={[Function]}
305
- onStartShouldSetResponder={[Function]}
306
- style={
307
- Object {
308
- "alignItems": "center",
309
- "backgroundColor": "#f1e9fb",
310
- "borderRadius": 4,
311
- "flexDirection": "row",
312
- "justifyContent": "space-between",
313
- "opacity": 1,
314
- "padding": 16,
315
- }
316
- }
317
- >
318
760
  <View
319
- style={
320
- Object {
321
- "flex": 1,
322
- }
323
- }
761
+ onLayout={[Function]}
762
+ style={null}
324
763
  >
325
- <Text
326
- style={
327
- Array [
764
+ <View>
765
+ <View
766
+ accessible={true}
767
+ collapsable={false}
768
+ focusable={true}
769
+ nativeID="animatedComponent"
770
+ onClick={[Function]}
771
+ onResponderGrant={[Function]}
772
+ onResponderMove={[Function]}
773
+ onResponderRelease={[Function]}
774
+ onResponderTerminate={[Function]}
775
+ onResponderTerminationRequest={[Function]}
776
+ onStartShouldSetResponder={[Function]}
777
+ style={
328
778
  Object {
329
- "color": "#292a2b",
330
- "fontFamily": "BeVietnamPro-Regular",
331
- "fontSize": 16,
332
- "letterSpacing": 0.48,
333
- "lineHeight": 24,
334
- },
335
- undefined,
336
- ]
337
- }
338
- themeFontSize="large"
339
- themeFontWeight="regular"
340
- themeIntent="body"
341
- >
342
- B
343
- </Text>
779
+ "alignItems": "center",
780
+ "backgroundColor": "#f1e9fb",
781
+ "borderRadius": 4,
782
+ "flexDirection": "row",
783
+ "justifyContent": "space-between",
784
+ "opacity": 1,
785
+ "padding": 16,
786
+ }
787
+ }
788
+ >
789
+ <View
790
+ style={
791
+ Object {
792
+ "flex": 1,
793
+ }
794
+ }
795
+ >
796
+ <Text
797
+ style={
798
+ Array [
799
+ Object {
800
+ "color": "#292a2b",
801
+ "fontFamily": "BeVietnamPro-Regular",
802
+ "fontSize": 16,
803
+ "letterSpacing": 0.48,
804
+ "lineHeight": 24,
805
+ },
806
+ undefined,
807
+ ]
808
+ }
809
+ themeFontSize="large"
810
+ themeFontWeight="regular"
811
+ themeIntent="body"
812
+ >
813
+ B
814
+ </Text>
815
+ </View>
816
+ <HeroIcon
817
+ name="checkmark"
818
+ style={
819
+ Array [
820
+ Object {
821
+ "color": "#292a2b",
822
+ "fontSize": 20,
823
+ },
824
+ undefined,
825
+ ]
826
+ }
827
+ themeIntent="text"
828
+ themeSize="small"
829
+ />
830
+ </View>
831
+ </View>
344
832
  </View>
345
- <HeroIcon
346
- name="checkmark"
347
- style={
348
- Array [
349
- Object {
350
- "color": "#292a2b",
351
- "fontSize": 20,
352
- },
353
- undefined,
354
- ]
355
- }
356
- themeIntent="text"
357
- themeSize="small"
358
- />
359
- </View>
360
- <View
361
- style={
362
- Array [
363
- Object {
364
- "marginTop": 4,
365
- },
366
- undefined,
367
- ]
368
- }
369
- />
370
- <View
371
- accessible={true}
372
- collapsable={false}
373
- focusable={true}
374
- nativeID="animatedComponent"
375
- onClick={[Function]}
376
- onResponderGrant={[Function]}
377
- onResponderMove={[Function]}
378
- onResponderRelease={[Function]}
379
- onResponderTerminate={[Function]}
380
- onResponderTerminationRequest={[Function]}
381
- onStartShouldSetResponder={[Function]}
382
- style={
383
- Object {
384
- "alignItems": "center",
385
- "backgroundColor": "#ffffff",
386
- "borderRadius": 4,
387
- "flexDirection": "row",
388
- "justifyContent": "space-between",
389
- "opacity": 1,
390
- "padding": 16,
391
- }
392
- }
393
- >
394
833
  <View
395
- style={
396
- Object {
397
- "flex": 1,
398
- }
399
- }
834
+ onLayout={[Function]}
835
+ style={null}
400
836
  >
401
- <Text
402
- style={
403
- Array [
837
+ <View>
838
+ <View
839
+ accessible={true}
840
+ collapsable={false}
841
+ focusable={true}
842
+ nativeID="animatedComponent"
843
+ onClick={[Function]}
844
+ onResponderGrant={[Function]}
845
+ onResponderMove={[Function]}
846
+ onResponderRelease={[Function]}
847
+ onResponderTerminate={[Function]}
848
+ onResponderTerminationRequest={[Function]}
849
+ onStartShouldSetResponder={[Function]}
850
+ style={
404
851
  Object {
405
- "color": "#292a2b",
406
- "fontFamily": "BeVietnamPro-Regular",
407
- "fontSize": 16,
408
- "letterSpacing": 0.48,
409
- "lineHeight": 24,
410
- },
411
- undefined,
412
- ]
413
- }
414
- themeFontSize="large"
415
- themeFontWeight="regular"
416
- themeIntent="body"
417
- >
418
- C
419
- </Text>
852
+ "alignItems": "center",
853
+ "backgroundColor": "#ffffff",
854
+ "borderRadius": 4,
855
+ "flexDirection": "row",
856
+ "justifyContent": "space-between",
857
+ "opacity": 1,
858
+ "padding": 16,
859
+ }
860
+ }
861
+ >
862
+ <View
863
+ style={
864
+ Object {
865
+ "flex": 1,
866
+ }
867
+ }
868
+ >
869
+ <Text
870
+ style={
871
+ Array [
872
+ Object {
873
+ "color": "#292a2b",
874
+ "fontFamily": "BeVietnamPro-Regular",
875
+ "fontSize": 16,
876
+ "letterSpacing": 0.48,
877
+ "lineHeight": 24,
878
+ },
879
+ undefined,
880
+ ]
881
+ }
882
+ themeFontSize="large"
883
+ themeFontWeight="regular"
884
+ themeIntent="body"
885
+ >
886
+ C
887
+ </Text>
888
+ </View>
889
+ </View>
890
+ </View>
420
891
  </View>
421
892
  </View>
422
- </View>
893
+ </RCTScrollView>
423
894
  `;
424
895
 
425
896
  exports[`OptionList trigger onPress correctly on select additional value 1`] = `
426
- <View
427
- style={
897
+ <RCTScrollView
898
+ ListFooterComponent={null}
899
+ data={
428
900
  Array [
429
901
  Object {
430
- "padding": 16,
902
+ "text": "A",
903
+ "value": "a",
904
+ },
905
+ Object {
906
+ "text": "B",
907
+ "value": "b",
908
+ },
909
+ Object {
910
+ "text": "C",
911
+ "value": "c",
431
912
  },
432
- undefined,
433
913
  ]
434
914
  }
435
- >
436
- <View
437
- accessible={true}
438
- collapsable={false}
439
- focusable={true}
440
- nativeID="animatedComponent"
441
- onClick={[Function]}
442
- onResponderGrant={[Function]}
443
- onResponderMove={[Function]}
444
- onResponderRelease={[Function]}
445
- onResponderTerminate={[Function]}
446
- onResponderTerminationRequest={[Function]}
447
- onStartShouldSetResponder={[Function]}
448
- style={
449
- Object {
450
- "alignItems": "center",
451
- "backgroundColor": "#f1e9fb",
452
- "borderRadius": 4,
453
- "flexDirection": "row",
454
- "justifyContent": "space-between",
455
- "opacity": 1,
456
- "padding": 16,
457
- }
915
+ getItem={[Function]}
916
+ getItemCount={[Function]}
917
+ keyExtractor={[Function]}
918
+ onContentSizeChange={[Function]}
919
+ onEndReached={[Function]}
920
+ onEndReachedThreshold={0.1}
921
+ onLayout={[Function]}
922
+ onMomentumScrollBegin={[Function]}
923
+ onMomentumScrollEnd={[Function]}
924
+ onScroll={[Function]}
925
+ onScrollBeginDrag={[Function]}
926
+ onScrollEndDrag={[Function]}
927
+ onScrollToIndexFailed={[Function]}
928
+ removeClippedSubviews={false}
929
+ renderItem={[Function]}
930
+ scrollEventThrottle={50}
931
+ stickyHeaderIndices={Array []}
932
+ style={
933
+ Object {
934
+ "paddingHorizontal": 16,
458
935
  }
459
- >
936
+ }
937
+ viewabilityConfigCallbackPairs={Array []}
938
+ >
939
+ <View>
460
940
  <View
461
- style={
462
- Object {
463
- "flex": 1,
464
- }
465
- }
941
+ onLayout={[Function]}
942
+ style={null}
466
943
  >
467
- <Text
468
- style={
469
- Array [
944
+ <View>
945
+ <View
946
+ accessible={true}
947
+ collapsable={false}
948
+ focusable={true}
949
+ nativeID="animatedComponent"
950
+ onClick={[Function]}
951
+ onResponderGrant={[Function]}
952
+ onResponderMove={[Function]}
953
+ onResponderRelease={[Function]}
954
+ onResponderTerminate={[Function]}
955
+ onResponderTerminationRequest={[Function]}
956
+ onStartShouldSetResponder={[Function]}
957
+ style={
470
958
  Object {
471
- "color": "#292a2b",
472
- "fontFamily": "BeVietnamPro-Regular",
473
- "fontSize": 16,
474
- "letterSpacing": 0.48,
475
- "lineHeight": 24,
476
- },
477
- undefined,
478
- ]
479
- }
480
- themeFontSize="large"
481
- themeFontWeight="regular"
482
- themeIntent="body"
483
- >
484
- A
485
- </Text>
959
+ "alignItems": "center",
960
+ "backgroundColor": "#f1e9fb",
961
+ "borderRadius": 4,
962
+ "flexDirection": "row",
963
+ "justifyContent": "space-between",
964
+ "opacity": 1,
965
+ "padding": 16,
966
+ }
967
+ }
968
+ >
969
+ <View
970
+ style={
971
+ Object {
972
+ "flex": 1,
973
+ }
974
+ }
975
+ >
976
+ <Text
977
+ style={
978
+ Array [
979
+ Object {
980
+ "color": "#292a2b",
981
+ "fontFamily": "BeVietnamPro-Regular",
982
+ "fontSize": 16,
983
+ "letterSpacing": 0.48,
984
+ "lineHeight": 24,
985
+ },
986
+ undefined,
987
+ ]
988
+ }
989
+ themeFontSize="large"
990
+ themeFontWeight="regular"
991
+ themeIntent="body"
992
+ >
993
+ A
994
+ </Text>
995
+ </View>
996
+ <HeroIcon
997
+ name="checkmark"
998
+ style={
999
+ Array [
1000
+ Object {
1001
+ "color": "#292a2b",
1002
+ "fontSize": 20,
1003
+ },
1004
+ undefined,
1005
+ ]
1006
+ }
1007
+ themeIntent="text"
1008
+ themeSize="small"
1009
+ />
1010
+ </View>
1011
+ </View>
486
1012
  </View>
487
- <HeroIcon
488
- name="checkmark"
489
- style={
490
- Array [
491
- Object {
492
- "color": "#292a2b",
493
- "fontSize": 20,
494
- },
495
- undefined,
496
- ]
497
- }
498
- themeIntent="text"
499
- themeSize="small"
500
- />
501
- </View>
502
- <View
503
- style={
504
- Array [
505
- Object {
506
- "marginTop": 4,
507
- },
508
- undefined,
509
- ]
510
- }
511
- />
512
- <View
513
- accessible={true}
514
- collapsable={false}
515
- focusable={true}
516
- nativeID="animatedComponent"
517
- onClick={[Function]}
518
- onResponderGrant={[Function]}
519
- onResponderMove={[Function]}
520
- onResponderRelease={[Function]}
521
- onResponderTerminate={[Function]}
522
- onResponderTerminationRequest={[Function]}
523
- onStartShouldSetResponder={[Function]}
524
- style={
525
- Object {
526
- "alignItems": "center",
527
- "backgroundColor": "#ffffff",
528
- "borderRadius": 4,
529
- "flexDirection": "row",
530
- "justifyContent": "space-between",
531
- "opacity": 1,
532
- "padding": 16,
533
- }
534
- }
535
- >
536
1013
  <View
537
- style={
538
- Object {
539
- "flex": 1,
540
- }
541
- }
1014
+ onLayout={[Function]}
1015
+ style={null}
542
1016
  >
543
- <Text
544
- style={
545
- Array [
1017
+ <View>
1018
+ <View
1019
+ accessible={true}
1020
+ collapsable={false}
1021
+ focusable={true}
1022
+ nativeID="animatedComponent"
1023
+ onClick={[Function]}
1024
+ onResponderGrant={[Function]}
1025
+ onResponderMove={[Function]}
1026
+ onResponderRelease={[Function]}
1027
+ onResponderTerminate={[Function]}
1028
+ onResponderTerminationRequest={[Function]}
1029
+ onStartShouldSetResponder={[Function]}
1030
+ style={
546
1031
  Object {
547
- "color": "#292a2b",
548
- "fontFamily": "BeVietnamPro-Regular",
549
- "fontSize": 16,
550
- "letterSpacing": 0.48,
551
- "lineHeight": 24,
552
- },
553
- undefined,
554
- ]
555
- }
556
- themeFontSize="large"
557
- themeFontWeight="regular"
558
- themeIntent="body"
559
- >
560
- B
561
- </Text>
1032
+ "alignItems": "center",
1033
+ "backgroundColor": "#ffffff",
1034
+ "borderRadius": 4,
1035
+ "flexDirection": "row",
1036
+ "justifyContent": "space-between",
1037
+ "opacity": 1,
1038
+ "padding": 16,
1039
+ }
1040
+ }
1041
+ >
1042
+ <View
1043
+ style={
1044
+ Object {
1045
+ "flex": 1,
1046
+ }
1047
+ }
1048
+ >
1049
+ <Text
1050
+ style={
1051
+ Array [
1052
+ Object {
1053
+ "color": "#292a2b",
1054
+ "fontFamily": "BeVietnamPro-Regular",
1055
+ "fontSize": 16,
1056
+ "letterSpacing": 0.48,
1057
+ "lineHeight": 24,
1058
+ },
1059
+ undefined,
1060
+ ]
1061
+ }
1062
+ themeFontSize="large"
1063
+ themeFontWeight="regular"
1064
+ themeIntent="body"
1065
+ >
1066
+ B
1067
+ </Text>
1068
+ </View>
1069
+ </View>
1070
+ </View>
562
1071
  </View>
563
- </View>
564
- <View
565
- style={
566
- Array [
567
- Object {
568
- "marginTop": 4,
569
- },
570
- undefined,
571
- ]
572
- }
573
- />
574
- <View
575
- accessible={true}
576
- collapsable={false}
577
- focusable={true}
578
- nativeID="animatedComponent"
579
- onClick={[Function]}
580
- onResponderGrant={[Function]}
581
- onResponderMove={[Function]}
582
- onResponderRelease={[Function]}
583
- onResponderTerminate={[Function]}
584
- onResponderTerminationRequest={[Function]}
585
- onStartShouldSetResponder={[Function]}
586
- style={
587
- Object {
588
- "alignItems": "center",
589
- "backgroundColor": "#ffffff",
590
- "borderRadius": 4,
591
- "flexDirection": "row",
592
- "justifyContent": "space-between",
593
- "opacity": 1,
594
- "padding": 16,
595
- }
596
- }
597
- >
598
1072
  <View
599
- style={
600
- Object {
601
- "flex": 1,
602
- }
603
- }
1073
+ onLayout={[Function]}
1074
+ style={null}
604
1075
  >
605
- <Text
606
- style={
607
- Array [
1076
+ <View>
1077
+ <View
1078
+ accessible={true}
1079
+ collapsable={false}
1080
+ focusable={true}
1081
+ nativeID="animatedComponent"
1082
+ onClick={[Function]}
1083
+ onResponderGrant={[Function]}
1084
+ onResponderMove={[Function]}
1085
+ onResponderRelease={[Function]}
1086
+ onResponderTerminate={[Function]}
1087
+ onResponderTerminationRequest={[Function]}
1088
+ onStartShouldSetResponder={[Function]}
1089
+ style={
608
1090
  Object {
609
- "color": "#292a2b",
610
- "fontFamily": "BeVietnamPro-Regular",
611
- "fontSize": 16,
612
- "letterSpacing": 0.48,
613
- "lineHeight": 24,
614
- },
615
- undefined,
616
- ]
617
- }
618
- themeFontSize="large"
619
- themeFontWeight="regular"
620
- themeIntent="body"
621
- >
622
- C
623
- </Text>
1091
+ "alignItems": "center",
1092
+ "backgroundColor": "#ffffff",
1093
+ "borderRadius": 4,
1094
+ "flexDirection": "row",
1095
+ "justifyContent": "space-between",
1096
+ "opacity": 1,
1097
+ "padding": 16,
1098
+ }
1099
+ }
1100
+ >
1101
+ <View
1102
+ style={
1103
+ Object {
1104
+ "flex": 1,
1105
+ }
1106
+ }
1107
+ >
1108
+ <Text
1109
+ style={
1110
+ Array [
1111
+ Object {
1112
+ "color": "#292a2b",
1113
+ "fontFamily": "BeVietnamPro-Regular",
1114
+ "fontSize": 16,
1115
+ "letterSpacing": 0.48,
1116
+ "lineHeight": 24,
1117
+ },
1118
+ undefined,
1119
+ ]
1120
+ }
1121
+ themeFontSize="large"
1122
+ themeFontWeight="regular"
1123
+ themeIntent="body"
1124
+ >
1125
+ C
1126
+ </Text>
1127
+ </View>
1128
+ </View>
1129
+ </View>
624
1130
  </View>
625
1131
  </View>
626
- </View>
1132
+ </RCTScrollView>
627
1133
  `;