Skip to content

Commit

Permalink
[change] Remove platform-specific exports
Browse files Browse the repository at this point in the history
  • Loading branch information
necolas committed Aug 24, 2022
1 parent 3fc40bd commit 6d7472a
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 117 deletions.
8 changes: 0 additions & 8 deletions packages/babel-plugin-react-native-web/src/moduleMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,11 @@ module.exports = {
AppRegistry: true,
AppState: true,
Appearance: true,
BackHandler: true,
Button: true,
CheckBox: true,
Clipboard: true,
DeviceEventEmitter: true,
DeviceInfo: true,
Dimensions: true,
DrawerLayoutAndroid: true,
Easing: true,
FlatList: true,
I18nManager: true,
Expand All @@ -31,7 +28,6 @@ module.exports = {
NativeEventEmitter: true,
NativeModules: true,
PanResponder: true,
PermissionsAndroid: true,
Picker: true,
PixelRatio: true,
Platform: true,
Expand All @@ -41,16 +37,12 @@ module.exports = {
SafeAreaView: true,
ScrollView: true,
SectionList: true,
Settings: true,
Share: true,
StatusBar: true,
StyleSheet: true,
Switch: true,
Systrace: true,
TVEventHandler: true,
Text: true,
TextInput: true,
ToastAndroid: true,
Touchable: true,
TouchableHighlight: true,
TouchableNativeFeedback: true,
Expand Down
23 changes: 0 additions & 23 deletions packages/react-native-web/src/exports/BackHandler/index.js

This file was deleted.

57 changes: 0 additions & 57 deletions packages/react-native-web/src/exports/DeviceInfo/index.js

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions packages/react-native-web/src/exports/PermissionsAndroid/index.js

This file was deleted.

1 change: 0 additions & 1 deletion packages/react-native-web/src/exports/Settings/index.js

This file was deleted.

1 change: 0 additions & 1 deletion packages/react-native-web/src/exports/Systrace/index.js

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions packages/react-native-web/src/exports/ToastAndroid/index.js

This file was deleted.

12 changes: 0 additions & 12 deletions packages/react-native-web/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ export { default as Animated } from './exports/Animated';
export { default as Appearance } from './exports/Appearance';
export { default as AppRegistry } from './exports/AppRegistry';
export { default as AppState } from './exports/AppState';
export { default as BackHandler } from './exports/BackHandler';
export { default as Clipboard } from './exports/Clipboard';
export { default as DeviceInfo } from './exports/DeviceInfo';
export { default as Dimensions } from './exports/Dimensions';
export { default as Easing } from './exports/Easing';
export { default as I18nManager } from './exports/I18nManager';
Expand Down Expand Up @@ -62,16 +60,6 @@ export { default as VirtualizedList } from './exports/VirtualizedList';
export { default as YellowBox } from './exports/YellowBox';
export { default as LogBox } from './exports/LogBox';

// compat (components)
export { default as DrawerLayoutAndroid } from './exports/DrawerLayoutAndroid';
export { default as InputAccessoryView } from './exports/InputAccessoryView';
export { default as ToastAndroid } from './exports/ToastAndroid';
// compat (apis)
export { default as PermissionsAndroid } from './exports/PermissionsAndroid';
export { default as Settings } from './exports/Settings';
export { default as Systrace } from './exports/Systrace';
export { default as TVEventHandler } from './exports/TVEventHandler';

// plugins
export { default as DeviceEventEmitter } from './exports/DeviceEventEmitter';

Expand Down

0 comments on commit 6d7472a

Please sign in to comment.