Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
fix 0.62 RN error about useNativeDriver property
Browse files Browse the repository at this point in the history
  • Loading branch information
alimek committed Apr 17, 2020
1 parent 36f5c13 commit b290e18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-tooltip-menu",
"version": "1.1.2",
"version": "1.2.0",
"description": "ReactNative component showing tooltip with menu items.",
"main": "src/index.js",
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ class Tooltip extends React.Component {
{
toValue: 1,
duration: 300,
useNativeDriver: true,
},
)
.start();
Expand All @@ -70,6 +71,7 @@ class Tooltip extends React.Component {
{
toValue: 0,
duration: 300,
useNativeDriver: true,
},
)
.start(this.toggleModal);
Expand Down

0 comments on commit b290e18

Please sign in to comment.