File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ export type Props = {
35
35
* - `accessibilityHint`: accessibility hint for the action
36
36
* - `style`: pass additional styles for the fab item, for example, `backgroundColor`
37
37
* - `containerStyle`: pass additional styles for the fab item label container, for example, `backgroundColor` @supported Available in 5.x
38
+ * - `wrapperStyle`: pass additional styles for the wrapper of the action item.
38
39
* - `labelStyle`: pass additional styles for the fab item label, for example, `fontSize`
39
40
* - `labelMaxFontSizeMultiplier`: specifies the largest possible scale a title font can reach.
40
41
* - `onPress`: callback that is called when `FAB` is pressed (required)
@@ -53,6 +54,7 @@ export type Props = {
53
54
accessibilityHint ?: string ;
54
55
style ?: Animated . WithAnimatedValue < StyleProp < ViewStyle > > ;
55
56
containerStyle ?: Animated . WithAnimatedValue < StyleProp < ViewStyle > > ;
57
+ wrapperStyle ?: StyleProp < ViewStyle > ;
56
58
labelStyle ?: StyleProp < TextStyle > ;
57
59
labelMaxFontSizeMultiplier ?: number ;
58
60
onPress : ( e : GestureResponderEvent ) => void ;
@@ -416,6 +418,7 @@ const FABGroup = ({
416
418
{
417
419
marginHorizontal,
418
420
} ,
421
+ it . wrapperStyle ,
419
422
] }
420
423
pointerEvents = { open ? 'box-none' : 'none' }
421
424
accessibilityRole = "button"
You can’t perform that action at this time.
0 commit comments