From 5a2d8b4fc938948a75b281b2b34fb85d83cb6fa5 Mon Sep 17 00:00:00 2001 From: Luu Gia Thuy Date: Wed, 15 Nov 2017 16:17:41 +0800 Subject: [PATCH] Remove marginBottom in button style. Let the one use it define the margin The reason is that if we want to set marginVertical style, the marginBottom will override it. The component uses Button have to define both marginBottom and marginTop instead --- Button.js | 1 - 1 file changed, 1 deletion(-) diff --git a/Button.js b/Button.js index d0761b7..45aa92c 100644 --- a/Button.js +++ b/Button.js @@ -130,7 +130,6 @@ const styles = StyleSheet.create({ alignItems: 'center', borderWidth: 1, borderRadius: 8, - marginBottom: 10, alignSelf: 'stretch', justifyContent: 'center', },