From 9a8c5d446ecd58bffa75c368a911d7d00f23c59f Mon Sep 17 00:00:00 2001 From: Ceyhun Keklik Date: Thu, 31 Mar 2022 17:01:55 +0300 Subject: [PATCH] fix: fix SwipeListView dependency issue --- SwipeListExample/examples/actions.js | 2 +- SwipeListExample/package.json | 3 ++- SwipeListExample/yarn.lock | 5 +++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/SwipeListExample/examples/actions.js b/SwipeListExample/examples/actions.js index b1de714..8f097cd 100644 --- a/SwipeListExample/examples/actions.js +++ b/SwipeListExample/examples/actions.js @@ -9,7 +9,7 @@ import { View, } from 'react-native'; -import SwipeListView from '../SwipeListView'; +import { SwipeListView } from 'react-native-swipe-list-view'; export default function Actions() { const [listData, setListData] = useState( diff --git a/SwipeListExample/package.json b/SwipeListExample/package.json index 23e99fb..db9bcce 100644 --- a/SwipeListExample/package.json +++ b/SwipeListExample/package.json @@ -11,7 +11,8 @@ }, "dependencies": { "react": "17.0.1", - "react-native": "0.64.2" + "react-native": "0.64.2", + "react-native-swipe-list-view": "3.2.9" }, "devDependencies": { "@babel/core": "^7.12.9", diff --git a/SwipeListExample/yarn.lock b/SwipeListExample/yarn.lock index 5892275..7bbb294 100644 --- a/SwipeListExample/yarn.lock +++ b/SwipeListExample/yarn.lock @@ -5092,6 +5092,11 @@ react-native-codegen@^0.0.6: jscodeshift "^0.11.0" nullthrows "^1.1.1" +react-native-swipe-list-view@3.2.9: + version "3.2.9" + resolved "https://registry.yarnpkg.com/react-native-swipe-list-view/-/react-native-swipe-list-view-3.2.9.tgz#d725c7cdf481dd5df12a00dbfe0120013b5f2e59" + integrity sha512-SjAEuHc/D6ovp+RjDUhfNmw6NYOntdT7+GFhfMGfP/BSLMuMWynpzJy9GKQeyB8sI78T6Lzip21TVbongOg1Mw== + react-native@0.64.2: version "0.64.2" resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.64.2.tgz#233b6ed84ac4749c8bc2a2d6cf63577a1c437d18"