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

Commit b290e18

Browse files
committed
fix 0.62 RN error about useNativeDriver property
1 parent 36f5c13 commit b290e18

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-tooltip-menu",
3-
"version": "1.1.2",
3+
"version": "1.2.0",
44
"description": "ReactNative component showing tooltip with menu items.",
55
"main": "src/index.js",
66
"scripts": {

src/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ class Tooltip extends React.Component {
5858
{
5959
toValue: 1,
6060
duration: 300,
61+
useNativeDriver: true,
6162
},
6263
)
6364
.start();
@@ -70,6 +71,7 @@ class Tooltip extends React.Component {
7071
{
7172
toValue: 0,
7273
duration: 300,
74+
useNativeDriver: true,
7375
},
7476
)
7577
.start(this.toggleModal);

0 commit comments

Comments
 (0)