mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Added support for corner radii in Android
Summary: This is a cut down version of a previous pull request with just the 4 corners catered for. Closes https://github.com/facebook/react-native/pull/4252 Reviewed By: svcscm Differential Revision: D2911959 Pulled By: androidtrunkagent fb-gh-sync-id: 7ddcd684d90d4d92ccefed906c0126e92818dcde
This commit is contained in:
committed by
facebook-github-bot-7
parent
17fcc9440f
commit
4937a4c5cd
@@ -77,6 +77,11 @@ public class ViewProps {
|
||||
public static final String BORDER_TOP_WIDTH = "borderTopWidth";
|
||||
public static final String BORDER_RIGHT_WIDTH = "borderRightWidth";
|
||||
public static final String BORDER_BOTTOM_WIDTH = "borderBottomWidth";
|
||||
public static final String BORDER_RADIUS = "borderRadius";
|
||||
public static final String BORDER_TOP_LEFT_RADIUS = "borderTopLeftRadius";
|
||||
public static final String BORDER_TOP_RIGHT_RADIUS = "borderTopRightRadius";
|
||||
public static final String BORDER_BOTTOM_LEFT_RADIUS = "borderBottomLeftRadius";
|
||||
public static final String BORDER_BOTTOM_RIGHT_RADIUS = "borderBottomRightRadius";
|
||||
public static final int[] BORDER_SPACING_TYPES = {
|
||||
Spacing.ALL, Spacing.LEFT, Spacing.RIGHT, Spacing.TOP, Spacing.BOTTOM
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user