File tree 6 files changed +8
-6
lines changed
packages/core/src/components
6 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
- import { FlatList as FlatListstComponent } from "react-native" ;
2
+ import { FlatList as FlatListstComponent } from "react-native-gesture-handler " ;
3
3
import type { FlatListProps } from "react-native" ;
4
4
5
5
const FlatList = React . forwardRef < FlatListstComponent , FlatListProps < any > > (
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
2
import { FlashListProps , FlashList } from "@shopify/flash-list" ;
3
- import { FlatListProps , FlatList as FlatListComponent } from "react-native" ;
3
+ import { FlatListProps } from "react-native" ;
4
+ import { FlatList as FlatListComponent } from "react-native-gesture-handler" ;
4
5
import SectionHeader , { DefaultSectionHeader } from "./SectionHeader" ;
5
6
import { flattenReactFragments } from "../../utilities" ;
6
7
import FlatList from "../FlatList" ;
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
2
import FlatList from "../FlatList" ;
3
- import { FlatList as FlatListComponent } from "react-native" ;
3
+ import { FlatList as FlatListComponent } from "react-native-gesture-handler " ;
4
4
import type { FlatListProps } from "react-native" ;
5
5
import useSplitContentContainerStyles from "./useSplitContentContainerStyles" ;
6
6
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import type {
5
5
FlashListSectionListProps ,
6
6
} from "../SectionList" ;
7
7
import useSplitContentContainerStyles from "./useSplitContentContainerStyles" ;
8
- import { FlatList } from "react-native" ;
8
+ import { FlatList } from "react-native-gesture-handler " ;
9
9
import { FlashList } from "@shopify/flash-list" ;
10
10
11
11
/**
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import type {
5
5
FlatListSwipeableListProps ,
6
6
} from "../SwipeableItem" ;
7
7
import useSplitContentContainerStyles from "./useSplitContentContainerStyles" ;
8
- import { FlatList } from "react-native" ;
8
+ import { FlatList } from "react-native-gesture-handler " ;
9
9
import { FlashList } from "@shopify/flash-list" ;
10
10
11
11
/**
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
2
import { FlashListProps , FlashList } from "@shopify/flash-list" ;
3
- import { FlatListProps , FlatList as FlatListComponent } from "react-native" ;
3
+ import { FlatListProps } from "react-native" ;
4
+ import { FlatList as FlatListComponent } from "react-native-gesture-handler" ;
4
5
import FlatList from "../FlatList" ;
5
6
6
7
type ListComponentType = "FlatList" | "FlashList" ;
You can’t perform that action at this time.
0 commit comments