@@ -9,9 +9,6 @@ exports[`renders custom icon and label in non-shifting bottom navigation 1`] = `
9
9
Object {
10
10
" flex" : 1 ,
11
11
},
12
- Object {
13
- " backgroundColor" : " #000000" ,
14
- },
15
12
undefined ,
16
13
]
17
14
}
@@ -132,6 +129,33 @@ exports[`renders custom icon and label in non-shifting bottom navigation 1`] = `
132
129
]
133
130
}
134
131
>
132
+ <AnimatedComponent
133
+ pointerEvents = " none"
134
+ style = {
135
+ Array [
136
+ Object {
137
+ " position" : " absolute" ,
138
+ },
139
+ Object {
140
+ " backgroundColor" : " rgba(0, 0, 0, 0.12)" ,
141
+ " borderRadius" : 48 ,
142
+ " height" : 96 ,
143
+ " left" : - 54.666666666666664 ,
144
+ " opacity" : 0.002 ,
145
+ " top" : - 20 ,
146
+ " transform" : Array [
147
+ Object {
148
+ " translateX" : 0 ,
149
+ },
150
+ Object {
151
+ " scale" : 0.001 ,
152
+ },
153
+ ],
154
+ " width" : 96 ,
155
+ },
156
+ ]
157
+ }
158
+ />
135
159
<TouchableWithoutFeedback
136
160
key = " key-0"
137
161
onPress = { [Function ]}
@@ -599,9 +623,6 @@ exports[`renders custom icon and label in shifting bottom navigation 1`] = `
599
623
Object {
600
624
" flex" : 1 ,
601
625
},
602
- Object {
603
- " backgroundColor" : " #000000" ,
604
- },
605
626
undefined ,
606
627
]
607
628
}
@@ -783,12 +804,15 @@ exports[`renders custom icon and label in shifting bottom navigation 1`] = `
783
804
" backgroundColor" : undefined ,
784
805
" borderRadius" : 0 ,
785
806
" height" : 0 ,
786
- " left" : 6 ,
807
+ " left" : - 4 ,
787
808
" opacity" : 0 ,
788
809
" top" : 28 ,
789
810
" transform" : Array [
790
811
Object {
791
- " scale" : 0.002 ,
812
+ " translateX" : 10 ,
813
+ },
814
+ Object {
815
+ " scale" : 0.008 ,
792
816
},
793
817
],
794
818
" width" : 0 ,
@@ -805,17 +829,20 @@ exports[`renders custom icon and label in shifting bottom navigation 1`] = `
805
829
},
806
830
Object {
807
831
" backgroundColor" : " rgba(255, 255, 255, 0.12)" ,
808
- " borderRadius" : 36 ,
809
- " height" : 72 ,
810
- " left" : - 30 ,
811
- " opacity" : 0 ,
812
- " top" : - 8 ,
832
+ " borderRadius" : 48 ,
833
+ " height" : 96 ,
834
+ " left" : - 52 ,
835
+ " opacity" : 0.002 ,
836
+ " top" : - 20 ,
813
837
" transform" : Array [
814
838
Object {
815
- " scale" : 0.002 ,
839
+ " translateX" : 10 ,
840
+ },
841
+ Object {
842
+ " scale" : 0.001 ,
816
843
},
817
844
],
818
- " width" : 72 ,
845
+ " width" : 96 ,
819
846
},
820
847
]
821
848
}
@@ -1374,9 +1401,6 @@ exports[`renders non-shifting bottom navigation 1`] = `
1374
1401
Object {
1375
1402
" flex" : 1 ,
1376
1403
},
1377
- Object {
1378
- " backgroundColor" : " #000000" ,
1379
- },
1380
1404
undefined ,
1381
1405
]
1382
1406
}
@@ -1497,6 +1521,33 @@ exports[`renders non-shifting bottom navigation 1`] = `
1497
1521
]
1498
1522
}
1499
1523
>
1524
+ <AnimatedComponent
1525
+ pointerEvents = " none"
1526
+ style = {
1527
+ Array [
1528
+ Object {
1529
+ " position" : " absolute" ,
1530
+ },
1531
+ Object {
1532
+ " backgroundColor" : " rgba(0, 0, 0, 0.12)" ,
1533
+ " borderRadius" : 48 ,
1534
+ " height" : 96 ,
1535
+ " left" : - 54.666666666666664 ,
1536
+ " opacity" : 0.002 ,
1537
+ " top" : - 20 ,
1538
+ " transform" : Array [
1539
+ Object {
1540
+ " translateX" : 0 ,
1541
+ },
1542
+ Object {
1543
+ " scale" : 0.001 ,
1544
+ },
1545
+ ],
1546
+ " width" : 96 ,
1547
+ },
1548
+ ]
1549
+ }
1550
+ />
1500
1551
<TouchableWithoutFeedback
1501
1552
key = " key-0"
1502
1553
onPress = { [Function ]}
@@ -2072,9 +2123,6 @@ exports[`renders shifting bottom navigation 1`] = `
2072
2123
Object {
2073
2124
" flex" : 1 ,
2074
2125
},
2075
- Object {
2076
- " backgroundColor" : " #000000" ,
2077
- },
2078
2126
undefined ,
2079
2127
]
2080
2128
}
@@ -2256,12 +2304,15 @@ exports[`renders shifting bottom navigation 1`] = `
2256
2304
" backgroundColor" : undefined ,
2257
2305
" borderRadius" : 0 ,
2258
2306
" height" : 0 ,
2259
- " left" : 6 ,
2307
+ " left" : - 4 ,
2260
2308
" opacity" : 0 ,
2261
2309
" top" : 28 ,
2262
2310
" transform" : Array [
2263
2311
Object {
2264
- " scale" : 0.002 ,
2312
+ " translateX" : 10 ,
2313
+ },
2314
+ Object {
2315
+ " scale" : 0.008 ,
2265
2316
},
2266
2317
],
2267
2318
" width" : 0 ,
@@ -2278,17 +2329,20 @@ exports[`renders shifting bottom navigation 1`] = `
2278
2329
},
2279
2330
Object {
2280
2331
" backgroundColor" : " rgba(255, 255, 255, 0.12)" ,
2281
- " borderRadius" : 36 ,
2282
- " height" : 72 ,
2283
- " left" : - 30 ,
2284
- " opacity" : 0 ,
2285
- " top" : - 8 ,
2332
+ " borderRadius" : 48 ,
2333
+ " height" : 96 ,
2334
+ " left" : - 52 ,
2335
+ " opacity" : 0.002 ,
2336
+ " top" : - 20 ,
2286
2337
" transform" : Array [
2287
2338
Object {
2288
- " scale" : 0.002 ,
2339
+ " translateX" : 10 ,
2340
+ },
2341
+ Object {
2342
+ " scale" : 0.001 ,
2289
2343
},
2290
2344
],
2291
- " width" : 72 ,
2345
+ " width" : 96 ,
2292
2346
},
2293
2347
]
2294
2348
}
0 commit comments