Skip to content

Commit f27395c

Browse files
committed
chore: example is updated
1 parent f616900 commit f27395c

File tree

4 files changed

+29
-5
lines changed

4 files changed

+29
-5
lines changed

example/App.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React from 'react';
22
import {Text, View, StyleSheet, Pressable} from 'react-native';
3-
// import Tooltip from 'react-native-tooltip-2';
4-
import Tooltip, {Placement} from './build/dist';
3+
import Tooltip, {Placement} from 'react-native-tooltip-2';
54

65
const App: React.FC = () => {
76
const [toolTipVisible, setToolTipVisible] = React.useState(false);

example/package-lock.json

Lines changed: 18 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"dependencies": {
1313
"react": "18.2.0",
1414
"react-fast-compare": "^3.2.0",
15-
"react-native": "0.71.4"
15+
"react-native": "0.71.4",
16+
"react-native-tooltip-2": "^0.1.0"
1617
},
1718
"devDependencies": {
1819
"@babel/core": "^7.20.0",

example/yarn.lock

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5757,7 +5757,7 @@
57575757
"shell-quote" "^1.6.1"
57585758
"ws" "^7"
57595759

5760-
"react-fast-compare@^3.2.0":
5760+
"react-fast-compare@^3.2.0", "react-fast-compare@>= 3.2.0":
57615761
"integrity" "sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA=="
57625762
"resolved" "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz"
57635763
"version" "3.2.0"
@@ -5792,6 +5792,13 @@
57925792
"resolved" "https://registry.npmjs.org/react-native-gradle-plugin/-/react-native-gradle-plugin-0.71.16.tgz"
57935793
"version" "0.71.16"
57945794

5795+
"react-native-tooltip-2@^0.1.0":
5796+
"integrity" "sha512-C+jNIWOVdCNaPODT8Uijl9TSHEfbYd8IWVxfBRio2y+E9FaI57hK5AqxLN4RE0I+GQzsmqMEmg4Y2ePthT0CDA=="
5797+
"resolved" "https://registry.npmjs.org/react-native-tooltip-2/-/react-native-tooltip-2-0.1.0.tgz"
5798+
"version" "0.1.0"
5799+
dependencies:
5800+
"react-fast-compare" ">= 3.2.0"
5801+
57955802
"react-native@0.71.4":
57965803
"integrity" "sha512-3hSYqvWrOdKhpV3HpEKp1/CkWx8Sr/N/miCrmUIAsVTSJUR7JW0VvIsrV9urDhUj/s6v2WF4n7qIEEJsmTCrPw=="
57975804
"resolved" "https://registry.npmjs.org/react-native/-/react-native-0.71.4.tgz"

0 commit comments

Comments
 (0)