From 7ec17e8c3c7cda95940c5ce80e4cbfa4c9d944e2 Mon Sep 17 00:00:00 2001 From: "David E. Gelhar" Date: Thu, 24 Apr 2025 13:05:45 -0400 Subject: [PATCH 1/2] revert DraggableList change for ios only from PR #59723 --- .../{index.native.tsx => index.android.tsx} | 0 src/components/DraggableList/index.ios.tsx | 23 +++++++++++++++++++ 2 files changed, 23 insertions(+) rename src/components/DraggableList/{index.native.tsx => index.android.tsx} (100%) create mode 100644 src/components/DraggableList/index.ios.tsx diff --git a/src/components/DraggableList/index.native.tsx b/src/components/DraggableList/index.android.tsx similarity index 100% rename from src/components/DraggableList/index.native.tsx rename to src/components/DraggableList/index.android.tsx diff --git a/src/components/DraggableList/index.ios.tsx b/src/components/DraggableList/index.ios.tsx new file mode 100644 index 000000000000..4a817d183e4a --- /dev/null +++ b/src/components/DraggableList/index.ios.tsx @@ -0,0 +1,23 @@ +import React from 'react'; +import DraggableFlatList from 'react-native-draggable-flatlist'; +import type {FlatList} from 'react-native-gesture-handler'; +import useThemeStyles from '@hooks/useThemeStyles'; +import type DraggableListProps from './types'; + +function DraggableList({...viewProps}: DraggableListProps, ref: React.ForwardedRef>) { + const styles = useThemeStyles(); + return ( + + ); +} + +DraggableList.displayName = 'DraggableList'; + +export default React.forwardRef(DraggableList); \ No newline at end of file From 6a1c12fe8892d012a53e49979846d492ef5bbd9f Mon Sep 17 00:00:00 2001 From: "David E. Gelhar" Date: Thu, 24 Apr 2025 14:51:37 -0400 Subject: [PATCH 2/2] prettier --- src/components/DraggableList/index.ios.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/DraggableList/index.ios.tsx b/src/components/DraggableList/index.ios.tsx index 4a817d183e4a..a943fd45dffc 100644 --- a/src/components/DraggableList/index.ios.tsx +++ b/src/components/DraggableList/index.ios.tsx @@ -20,4 +20,4 @@ function DraggableList({...viewProps}: DraggableListProps, ref: React.Forw DraggableList.displayName = 'DraggableList'; -export default React.forwardRef(DraggableList); \ No newline at end of file +export default React.forwardRef(DraggableList);