This commit is contained in:
Mikael Sand
2019-06-20 02:31:07 +03:00
parent b9267fba3a
commit 3fd2523412
2 changed files with 9 additions and 0 deletions
@@ -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);