Skip to content

Commit

Permalink
Merge pull request #6 from slorber/patch-1
Browse files Browse the repository at this point in the history
useNativeDriver
  • Loading branch information
n4kz committed Sep 29, 2019
2 parents 98524ba + 7c33276 commit d68a150
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/button/index.js
Expand Up @@ -69,6 +69,7 @@ export default class Button extends PureComponent {
toValue: 1,
duration: focusAnimationDuration,
easing: Easing.out(Easing.ease),
useNativeDriver: true,
})
.start();
}
Expand All @@ -82,6 +83,7 @@ export default class Button extends PureComponent {
toValue: 0,
duration: focusAnimationDuration,
easing: Easing.out(Easing.ease),
useNativeDriver: true,
})
.start();
}
Expand Down

0 comments on commit d68a150

Please sign in to comment.