diff --git a/ActionButton.js b/ActionButton.js index 9ff61ef..51df3c6 100644 --- a/ActionButton.js +++ b/ActionButton.js @@ -1,4 +1,4 @@ -import React, { Component, PropTypes } from 'react'; +import React, { PropTypes, Component } from 'react'; import { StyleSheet, Text, View, Animated, Easing, TouchableOpacity, PixelRatio } from 'react-native'; import ActionButtonItem from './ActionButtonItem'; @@ -42,12 +42,12 @@ export default class ActionButton extends Component { position = 'center', offsetX  = 10, offsetY = 4, - size = 42; + size = 45; } else { position = 'right', offsetX  = 30, offsetY = 30, - size = 56; + size = 45; } this.state.position = this.props.position || position; @@ -118,7 +118,6 @@ export default class ActionButton extends Component { { this.props.onPress() if (this.props.children) this.animateButton() diff --git a/README.md b/README.md index 48c6185..0c30a84 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ customizable multi-action-button component for react-native ### Installation ```bash -npm i react-native-action-button --save +npm i https://github.com/ajaxangular/react-native-action-button --save ``` ### Usage