diff --git a/ActionButton.js b/ActionButton.js
index eb64e59..5c84b6b 100644
--- a/ActionButton.js
+++ b/ActionButton.js
@@ -12,6 +12,12 @@ import {
import PropTypes from 'prop-types';
import ActionButtonItem from './ActionButtonItem';
+ const defaultConfig = {
+ actionOverlay:{
+ bottom:70
+ }
+ }
+
const alignMap = {
center: {
alignItems: 'center',
@@ -54,6 +60,10 @@ export default class ActionButton extends Component {
getActionButtonStyle() {
return [styles.actionBarItem, this.getButtonSize()];
}
+ getActionContainerOverlay() {
+ const {bottomDistance} = this.props
+ return [styles.buttonActionOverlay, {bottom:(bottomDistance)?bottomDistance:defaultConfig.actionOverlay.bottom}];
+ }
getActionContainerStyle() {
const {alignItems, justifyContent} = alignMap[this.props.position];
@@ -241,7 +251,9 @@ export default class ActionButton extends Component {
>
{backdrop}
- {this.props.children && this.renderActions()}
+
+ {this.props.children && this.renderActions()}
+