mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-05 16:37:08 +08:00
Android: Implement margin(Start|End) styles for RN
Reviewed By: achen1 Differential Revision: D5907651 fbshipit-source-id: 4df7583483e6f10b5433b9fa9d9345e00ccedd20
This commit is contained in:
committed by
Facebook Github Bot
parent
1ed08d3c01
commit
04a8c62313
@@ -47,6 +47,8 @@ public class ViewProps {
|
||||
public static final String MARGIN_RIGHT = "marginRight";
|
||||
public static final String MARGIN_TOP = "marginTop";
|
||||
public static final String MARGIN_BOTTOM = "marginBottom";
|
||||
public static final String MARGIN_START = "marginStart";
|
||||
public static final String MARGIN_END = "marginEnd";
|
||||
|
||||
public static final String PADDING = "padding";
|
||||
public static final String PADDING_VERTICAL = "paddingVertical";
|
||||
@@ -174,6 +176,8 @@ public class ViewProps {
|
||||
MARGIN_RIGHT,
|
||||
MARGIN_TOP,
|
||||
MARGIN_BOTTOM,
|
||||
MARGIN_START,
|
||||
MARGIN_END,
|
||||
|
||||
/* paddings */
|
||||
PADDING,
|
||||
|
||||
Reference in New Issue
Block a user