diff --git a/src/components/FAB/FABGroup.tsx b/src/components/FAB/FABGroup.tsx index 23ea995ba8..bec0748fec 100644 --- a/src/components/FAB/FABGroup.tsx +++ b/src/components/FAB/FABGroup.tsx @@ -78,6 +78,10 @@ type Props = { * @optional */ theme: Theme; + /** + * Space between FAB group items + */ + itemMargin?: number; }; type State = { @@ -205,6 +209,7 @@ class FABGroup extends React.Component { style, fabStyle, visible, + itemMargin, } = this.props; const { colors } = theme; @@ -250,7 +255,7 @@ class FABGroup extends React.Component { {actions.map((it, i) => ( {it.label && ( @@ -361,7 +366,6 @@ const styles = StyleSheet.create({ }, item: { marginHorizontal: 24, - marginBottom: 16, flexDirection: 'row', justifyContent: 'flex-end', alignItems: 'center',