Skip to content

Commit 97ed97f

Browse files
committed
Combine exports
1 parent 87762ef commit 97ed97f

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

packages/react-native-gesture-handler/src/mocks/gestureComponents.tsx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,15 @@ import {
1111
RefreshControl,
1212
} from 'react-native';
1313

14-
export const LegacyScrollView = ScrollView;
15-
export const LegacyFlatList = FlatList;
16-
export const LegacySwitch = Switch;
17-
export const LegacyTextInput = TextInput;
18-
export const LegacyDrawerLayoutAndroid = DrawerLayoutAndroid;
19-
export const LegacyRefreshControl = RefreshControl;
20-
2114
export {
2215
TouchableHighlight,
2316
TouchableNativeFeedback,
2417
TouchableOpacity,
2518
TouchableWithoutFeedback,
19+
ScrollView as LegacyScrollView,
20+
FlatList as LegacyFlatList,
21+
Switch as LegacySwitch,
22+
TextInput as LegacyTextInput,
23+
DrawerLayoutAndroid as LegacyDrawerLayoutAndroid,
24+
RefreshControl as LegacyRefreshControl,
2625
};

0 commit comments

Comments
 (0)