We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b14d58 commit 90d8c8dCopy full SHA for 90d8c8d
examples/FacebookTabsExample/FacebookTabBar.js
@@ -38,14 +38,8 @@ const FacebookTabBar = React.createClass({
38
39
setAnimationValue({ value, }) {
40
this.unselectedTabIcons.forEach((icon, i) => {
41
- let iconRef = icon;
42
-
43
- if (!icon.setNativeProps && icon !== null) {
44
- iconRef = icon.refs.icon_image;
45
- }
46
47
const opacity = (value - i >= 0 && value - i <= 1) ? value - i : 1;
48
- iconRef.setNativeProps({
+ icon.setNativeProps({
49
style: {
50
opacity,
51
},
0 commit comments