From 50906e6a5ee3ff380579cff259f2e5826be1c4cb Mon Sep 17 00:00:00 2001 From: Jean Silva Date: Thu, 6 Oct 2016 20:13:57 -0400 Subject: [PATCH] Renamed Prop to loadingRight --- src/buttons/Button.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/buttons/Button.js b/src/buttons/Button.js index 06fa89a3b8..6d1e544041 100644 --- a/src/buttons/Button.js +++ b/src/buttons/Button.js @@ -15,7 +15,7 @@ const Button = ({ Component, disabled, loading, - loadingLeft, + loadingRight, activityIndicatorStyle, buttonStyle, borderRadius, @@ -127,7 +127,7 @@ const Button = ({ icon && !iconRight && iconElement } { - loading && !loadingLeft && loadingElement + loading && !loadingRight && loadingElement } { - loading && loadingLeft && loadingElement + loading && loadingRight && loadingElement } { icon && iconRight && iconElement @@ -172,7 +172,7 @@ Button.propTypes = { disabled: PropTypes.bool, loading: PropTypes.bool, activityIndicatorStyle: PropTypes.any, - loadingLeft: PropTypes.bool + loadingRight: PropTypes.bool } styles = StyleSheet.create({