@@ -188,6 +188,190 @@ exports[`Main should apply custom fontFamily to tab 1`] = `
188
188
</View >
189
189
` ;
190
190
191
+ exports [` Main should display tab labels not uppercased 1` ] = `
192
+ <View
193
+ barColor = " #13897b"
194
+ barHeight = { 48 }
195
+ onLayout = { [Function ]}
196
+ style = {
197
+ Array [
198
+ Object {
199
+ " backgroundColor" : " #13897b" ,
200
+ " height" : 48 ,
201
+ },
202
+ undefined ,
203
+ ]
204
+ }
205
+ >
206
+ <RCTScrollView
207
+ horizontal = { true }
208
+ scrollEnabled = { false }
209
+ showsHorizontalScrollIndicator = { false }
210
+ >
211
+ <View >
212
+ <View
213
+ barHeight = { 48 }
214
+ style = {
215
+ Array [
216
+ Object {
217
+ " flexDirection" : " row" ,
218
+ " height" : 46 ,
219
+ },
220
+ undefined ,
221
+ ]
222
+ }
223
+ >
224
+ <View
225
+ accessibilityComponentType = { undefined }
226
+ accessibilityLabel = { undefined }
227
+ accessibilityTraits = { undefined }
228
+ accessible = { true }
229
+ collapsable = { undefined }
230
+ hasTVPreferredFocus = { undefined }
231
+ hitSlop = { undefined }
232
+ isTVSelectable = { true }
233
+ nativeID = { undefined }
234
+ onLayout = { undefined }
235
+ onResponderGrant = { [Function ]}
236
+ onResponderMove = { [Function ]}
237
+ onResponderRelease = { [Function ]}
238
+ onResponderTerminate = { [Function ]}
239
+ onResponderTerminationRequest = { [Function ]}
240
+ onStartShouldSetResponder = { [Function ]}
241
+ style = {
242
+ Object {
243
+ " opacity" : 1 ,
244
+ " width" : 0 ,
245
+ }
246
+ }
247
+ testID = { undefined }
248
+ tvParallaxProperties = { undefined }
249
+ >
250
+ <View
251
+ style = {
252
+ Array [
253
+ Object {
254
+ " alignItems" : " center" ,
255
+ " height" : 48 ,
256
+ " justifyContent" : " center" ,
257
+ " paddingHorizontal" : 12 ,
258
+ },
259
+ undefined ,
260
+ ]
261
+ }
262
+ tabHeight = { 48 }
263
+ >
264
+ <Text
265
+ accessible = { true }
266
+ allowFontScaling = { true }
267
+ color = " #fff"
268
+ ellipsizeMode = " tail"
269
+ style = {
270
+ Array [
271
+ Object {
272
+ " color" : " #fff" ,
273
+ " fontFamily" : " System" ,
274
+ " fontSize" : 14 ,
275
+ " fontWeight" : " 500" ,
276
+ " minWidth" : " 100%" ,
277
+ " textAlign" : " center" ,
278
+ },
279
+ null ,
280
+ ]
281
+ }
282
+ >
283
+ Tab1
284
+ </Text >
285
+ </View >
286
+ </View >
287
+ <View
288
+ accessibilityComponentType = { undefined }
289
+ accessibilityLabel = { undefined }
290
+ accessibilityTraits = { undefined }
291
+ accessible = { true }
292
+ collapsable = { undefined }
293
+ hasTVPreferredFocus = { undefined }
294
+ hitSlop = { undefined }
295
+ isTVSelectable = { true }
296
+ nativeID = { undefined }
297
+ onLayout = { undefined }
298
+ onResponderGrant = { [Function ]}
299
+ onResponderMove = { [Function ]}
300
+ onResponderRelease = { [Function ]}
301
+ onResponderTerminate = { [Function ]}
302
+ onResponderTerminationRequest = { [Function ]}
303
+ onStartShouldSetResponder = { [Function ]}
304
+ style = {
305
+ Object {
306
+ " opacity" : 1 ,
307
+ " width" : 0 ,
308
+ }
309
+ }
310
+ testID = { undefined }
311
+ tvParallaxProperties = { undefined }
312
+ >
313
+ <View
314
+ style = {
315
+ Array [
316
+ Object {
317
+ " alignItems" : " center" ,
318
+ " height" : 48 ,
319
+ " justifyContent" : " center" ,
320
+ " paddingHorizontal" : 12 ,
321
+ },
322
+ undefined ,
323
+ ]
324
+ }
325
+ tabHeight = { 48 }
326
+ >
327
+ <Text
328
+ accessible = { true }
329
+ allowFontScaling = { true }
330
+ color = " rgba(255, 255, 255, 0.7)"
331
+ ellipsizeMode = " tail"
332
+ style = {
333
+ Array [
334
+ Object {
335
+ " color" : " rgba(255, 255, 255, 0.7)" ,
336
+ " fontFamily" : " System" ,
337
+ " fontSize" : 14 ,
338
+ " fontWeight" : " 500" ,
339
+ " minWidth" : " 100%" ,
340
+ " textAlign" : " center" ,
341
+ },
342
+ null ,
343
+ ]
344
+ }
345
+ >
346
+ Tab2
347
+ </Text >
348
+ </View >
349
+ </View >
350
+ </View >
351
+ <View
352
+ collapsable = { undefined }
353
+ color = " #fff"
354
+ style = {
355
+ Object {
356
+ " backgroundColor" : " #fff" ,
357
+ " bottom" : 0 ,
358
+ " height" : 2 ,
359
+ " position" : " absolute" ,
360
+ " transform" : Array [
361
+ Object {
362
+ " translateX" : 0 ,
363
+ },
364
+ ],
365
+ " width" : 0 ,
366
+ }
367
+ }
368
+ tabWidth = { 0 }
369
+ />
370
+ </View >
371
+ </RCTScrollView >
372
+ </View >
373
+ ` ;
374
+
191
375
exports [` Main should render without errors 1` ] = `
192
376
<View
193
377
barColor = " #13897b"
0 commit comments