Skip to content

Commit ae6a84e

Browse files
RSNarafacebook-github-bot
authored andcommitted
Fix NVC for AndroidProgressBar
Summary: Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D33341772 fbshipit-source-id: eddd344135e6deed60c21eb838a244753e2204b5
1 parent 848e34e commit ae6a84e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ReactAndroid/src/main/java/com/facebook/react/views/progressbar/ReactProgressBarViewManager.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public class ReactProgressBarViewManager
4444
private final WeakHashMap<Integer, Pair<Integer, Integer>> mMeasuredStyles = new WeakHashMap<>();
4545

4646
/* package */ static final String PROP_STYLE = "styleAttr";
47+
/* package */ static final String PROP_ATTR = "typeAttr";
4748
/* package */ static final String PROP_INDETERMINATE = "indeterminate";
4849
/* package */ static final String PROP_PROGRESS = "progress";
4950
/* package */ static final String PROP_ANIMATING = "animating";
@@ -115,6 +116,7 @@ public void setTestID(ProgressBarContainerView view, @Nullable String value) {
115116
}
116117

117118
@Override
119+
@ReactProp(name = PROP_ATTR)
118120
public void setTypeAttr(ProgressBarContainerView view, @Nullable String value) {}
119121

120122
@Override

0 commit comments

Comments
 (0)