mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-06 16:32:24 +00:00
Fix #1017
This commit is contained in:
@@ -82,6 +82,11 @@ class SvgViewManager extends ReactViewManager {
|
||||
node.setTintColor(tintColor);
|
||||
}
|
||||
|
||||
@ReactProp(name = "color", customType = "Color")
|
||||
public void setColor(SvgView node, @Nullable Integer color) {
|
||||
node.setTintColor(color);
|
||||
}
|
||||
|
||||
@ReactProp(name = "minX")
|
||||
public void setMinX(SvgView node, float minX) {
|
||||
node.setMinX(minX);
|
||||
|
||||
Reference in New Issue
Block a user