From bd80e56f91ef62a283a150bd65438cc0a4af38d7 Mon Sep 17 00:00:00 2001 From: Bruno Lemos Date: Sat, 4 May 2019 00:16:10 -0300 Subject: [PATCH] Fix Error: Attempted import error: 'FlatListProps' is not exported from 'react-native-web/dist/index'. --- packages/components/src/libs/flatlist/index.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/components/src/libs/flatlist/index.tsx b/packages/components/src/libs/flatlist/index.tsx index b87bcfc6..a4af1e32 100644 --- a/packages/components/src/libs/flatlist/index.tsx +++ b/packages/components/src/libs/flatlist/index.tsx @@ -1 +1,5 @@ -export { FlatList, FlatListProps } from 'react-native' +import { FlatListProps as OriginalFlatListProps } from 'react-native' + +export interface FlatListProps extends OriginalFlatListProps {} + +export { FlatList } from 'react-native'