@@ -174,19 +174,46 @@ exports[`FloatingActionButton renders correct props with secondary buttons 1`] =
174
174
<View
175
175
style = {
176
176
[
177
- {},
177
+ {
178
+ " backgroundColor" : " #e74c3c" ,
179
+ " elevation" : 5 ,
180
+ " rippleColor" : " rgba(0, 0, 0, 0.4)" ,
181
+ " shadowColor" : " #000" ,
182
+ " shadowOffset" : {
183
+ " height" : 5 ,
184
+ " width" : 0 ,
185
+ },
186
+ " shadowOpacity" : 0.3 ,
187
+ " shadowRadius" : 3 ,
188
+ " size" : 54 ,
189
+ },
178
190
{
179
191
" alignItems" : " center" ,
180
- " flexShrink" : 1 ,
192
+ " borderRadius" : 27 ,
193
+ " height" : 54 ,
181
194
" justifyContent" : " center" ,
195
+ " width" : 54 ,
182
196
},
183
197
]
184
198
}
185
199
testID = " FloatingAction$IconView"
186
200
>
187
201
<View
188
- testId = " icon"
189
- />
202
+ style = {
203
+ [
204
+ {},
205
+ {
206
+ " alignItems" : " center" ,
207
+ " flexShrink" : 1 ,
208
+ " justifyContent" : " center" ,
209
+ },
210
+ ]
211
+ }
212
+ >
213
+ <View
214
+ testId = " icon"
215
+ />
216
+ </View >
190
217
</View >
191
218
</View >
192
219
</View >
@@ -369,19 +396,46 @@ exports[`FloatingActionButton renders correct props without secondary buttons 1`
369
396
<View
370
397
style = {
371
398
[
372
- {},
399
+ {
400
+ " backgroundColor" : " #e74c3c" ,
401
+ " elevation" : 5 ,
402
+ " rippleColor" : " rgba(0, 0, 0, 0.4)" ,
403
+ " shadowColor" : " #000" ,
404
+ " shadowOffset" : {
405
+ " height" : 5 ,
406
+ " width" : 0 ,
407
+ },
408
+ " shadowOpacity" : 0.3 ,
409
+ " shadowRadius" : 3 ,
410
+ " size" : 54 ,
411
+ },
373
412
{
374
413
" alignItems" : " center" ,
375
- " flexShrink" : 1 ,
414
+ " borderRadius" : 27 ,
415
+ " height" : 54 ,
376
416
" justifyContent" : " center" ,
417
+ " width" : 54 ,
377
418
},
378
419
]
379
420
}
380
421
testID = " FloatingAction$IconView"
381
422
>
382
423
<View
383
- testId = " icon"
384
- />
424
+ style = {
425
+ [
426
+ {},
427
+ {
428
+ " alignItems" : " center" ,
429
+ " flexShrink" : 1 ,
430
+ " justifyContent" : " center" ,
431
+ },
432
+ ]
433
+ }
434
+ >
435
+ <View
436
+ testId = " icon"
437
+ />
438
+ </View >
385
439
</View >
386
440
</View >
387
441
</View >
@@ -564,19 +618,46 @@ exports[`FloatingActionButton vertical position renders position bottom correctl
564
618
<View
565
619
style = {
566
620
[
567
- {},
621
+ {
622
+ " backgroundColor" : " #e74c3c" ,
623
+ " elevation" : 5 ,
624
+ " rippleColor" : " rgba(0, 0, 0, 0.4)" ,
625
+ " shadowColor" : " #000" ,
626
+ " shadowOffset" : {
627
+ " height" : 5 ,
628
+ " width" : 0 ,
629
+ },
630
+ " shadowOpacity" : 0.3 ,
631
+ " shadowRadius" : 3 ,
632
+ " size" : 54 ,
633
+ },
568
634
{
569
635
" alignItems" : " center" ,
570
- " flexShrink" : 1 ,
636
+ " borderRadius" : 27 ,
637
+ " height" : 54 ,
571
638
" justifyContent" : " center" ,
639
+ " width" : 54 ,
572
640
},
573
641
]
574
642
}
575
643
testID = " FloatingAction$IconView"
576
644
>
577
645
<View
578
- testId = " icon"
579
- />
646
+ style = {
647
+ [
648
+ {},
649
+ {
650
+ " alignItems" : " center" ,
651
+ " flexShrink" : 1 ,
652
+ " justifyContent" : " center" ,
653
+ },
654
+ ]
655
+ }
656
+ >
657
+ <View
658
+ testId = " icon"
659
+ />
660
+ </View >
580
661
</View >
581
662
</View >
582
663
</View >
@@ -759,19 +840,46 @@ exports[`FloatingActionButton vertical position renders position top correctly 1
759
840
<View
760
841
style = {
761
842
[
762
- {},
843
+ {
844
+ " backgroundColor" : " #e74c3c" ,
845
+ " elevation" : 5 ,
846
+ " rippleColor" : " rgba(0, 0, 0, 0.4)" ,
847
+ " shadowColor" : " #000" ,
848
+ " shadowOffset" : {
849
+ " height" : 5 ,
850
+ " width" : 0 ,
851
+ },
852
+ " shadowOpacity" : 0.3 ,
853
+ " shadowRadius" : 3 ,
854
+ " size" : 54 ,
855
+ },
763
856
{
764
857
" alignItems" : " center" ,
765
- " flexShrink" : 1 ,
858
+ " borderRadius" : 27 ,
859
+ " height" : 54 ,
766
860
" justifyContent" : " center" ,
861
+ " width" : 54 ,
767
862
},
768
863
]
769
864
}
770
865
testID = " FloatingAction$IconView"
771
866
>
772
867
<View
773
- testId = " icon"
774
- />
868
+ style = {
869
+ [
870
+ {},
871
+ {
872
+ " alignItems" : " center" ,
873
+ " flexShrink" : 1 ,
874
+ " justifyContent" : " center" ,
875
+ },
876
+ ]
877
+ }
878
+ >
879
+ <View
880
+ testId = " icon"
881
+ />
882
+ </View >
775
883
</View >
776
884
</View >
777
885
</View >
0 commit comments