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 ;
@@ -412,6 +414,7 @@ const FABGroup = ({
412
414
< View
413
415
key = { i } // eslint-disable-line react/no-array-index-key
414
416
style = { [
417
+ it . wrapperStyle ,
415
418
styles . item ,
416
419
{
417
420
marginHorizontal,
You can’t perform that action at this time.
0 commit comments