Skip to content

Commit 03dc784

Browse files
committed
Merge branch 'master' of github.com:computerjazz/react-native-draggable-flatlist
2 parents e3cb311 + 0d4c411 commit 03dc784

File tree

3 files changed

+19
-13
lines changed

3 files changed

+19
-13
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
⚠️ NOTE: You are viewing the README for version 3, [version 2 README here](https://github.com/computerjazz/react-native-draggable-flatlist/blob/b60c23035fc0371a735cde1d000e9ad7f8e0f049/README.md)
3+
14
# React Native Draggable FlatList
25

36
A drag-and-drop-enabled FlatList component for React Native.<br />

src/components/DraggableFlatList.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,4 +443,7 @@ function DraggableFlatList<T>(
443443
);
444444
}
445445

446-
export default React.forwardRef(DraggableFlatList);
446+
export default React.forwardRef(DraggableFlatList) as <T>(
447+
props: DraggableFlatListProps<T>,
448+
ref: React.ForwardedRef<FlatList<T>>
449+
)=>ReturnType<typeof DraggableFlatList>;

yarn.lock

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4666,9 +4666,9 @@ path-key@^3.0.0, path-key@^3.1.0:
46664666
integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==
46674667

46684668
path-parse@^1.0.6:
4669-
version "1.0.6"
4670-
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c"
4671-
integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==
4669+
version "1.0.7"
4670+
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
4671+
integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
46724672

46734673
path-type@^4.0.0:
46744674
version "4.0.0"
@@ -4884,9 +4884,9 @@ react-native-reanimated@^2.1.0:
48844884
string-hash-64 "^1.0.3"
48854885

48864886
react-native@^0.64.0:
4887-
version "0.64.0"
4888-
resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.64.0.tgz#c3bde5b638bf8bcf12bae6e094930d39cb942ab7"
4889-
integrity sha512-8dhSHBthgGwAjU+OjqUEA49229ThPMQH7URH0u8L0xoQFCnZO2sZ9Wc6KcbxI0x9KSmjCMFFZqRe3w3QsRv64g==
4887+
version "0.64.1"
4888+
resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.64.1.tgz#cd38f5b47b085549686f34eb0c9dcd466f307635"
4889+
integrity sha512-jvSj+hNAfwvhaSmxd5KHJ5HidtG0pDXzoH6DaqNpU74g3CmAiA8vuk58B5yx/DYuffGq6PeMniAcwuh3Xp4biQ==
48904890
dependencies:
48914891
"@jest/create-cache-key-function" "^26.5.0"
48924892
"@react-native-community/cli" "^5.0.1-alpha.0"
@@ -5266,9 +5266,9 @@ semver-compare@^1.0.0:
52665266
integrity sha1-De4hahyUGrN+nvsXiPavxf9VN/w=
52675267

52685268
semver-regex@^3.1.2:
5269-
version "3.1.2"
5270-
resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-3.1.2.tgz#34b4c0d361eef262e07199dbef316d0f2ab11807"
5271-
integrity sha512-bXWyL6EAKOJa81XG1OZ/Yyuq+oT0b2YLlxx7c+mrdYPaPbnj6WgVULXhinMIeZGufuUBu/eVRqXEhiv4imfwxA==
5269+
version "3.1.3"
5270+
resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-3.1.3.tgz#b2bcc6f97f63269f286994e297e229b6245d0dc3"
5271+
integrity sha512-Aqi54Mk9uYTjVexLnR67rTyBusmwd04cLkHy9hNvk3+G3nT2Oyg7E0l4XVbOaNwIvQ3hHeYxGcyEy+mKreyBFQ==
52725272

52735273
"semver@2 || 3 || 4 || 5", semver@^5.5.0, semver@^5.6.0:
52745274
version "5.7.1"
@@ -5737,9 +5737,9 @@ through2@^2.0.1:
57375737
xtend "~4.0.1"
57385738

57395739
5740-
version "1.0.4"
5741-
resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.4.tgz#23640dd7b42d00433911140820e5cf440e521dd1"
5742-
integrity sha1-I2QN17QtAEM5ERQIIOXPRA5SHdE=
5740+
version "1.0.5"
5741+
resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc"
5742+
integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==
57435743

57445744
to-fast-properties@^2.0.0:
57455745
version "2.0.0"

0 commit comments

Comments
 (0)