From f1c898ec8c45d2ed5bbf35643ec13d20cba92562 Mon Sep 17 00:00:00 2001 From: smartDev420 Date: Fri, 28 Jun 2019 10:02:00 -0700 Subject: [PATCH] [change] Remove ActionSheetIOS Ref #1352 Ref https://github.com/facebook/react-native/issues/23313 --- packages/babel-plugin-react-native-web/src/moduleMap.js | 1 - packages/react-native-web/src/exports/ActionSheetIOS/index.js | 1 - packages/react-native-web/src/index.js | 2 -- 3 files changed, 4 deletions(-) delete mode 100644 packages/react-native-web/src/exports/ActionSheetIOS/index.js diff --git a/packages/babel-plugin-react-native-web/src/moduleMap.js b/packages/babel-plugin-react-native-web/src/moduleMap.js index e273801d..6a1face6 100644 --- a/packages/babel-plugin-react-native-web/src/moduleMap.js +++ b/packages/babel-plugin-react-native-web/src/moduleMap.js @@ -1,7 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. module.exports = { AccessibilityInfo: true, - ActionSheetIOS: true, ActivityIndicator: true, Alert: true, AlertIOS: true, diff --git a/packages/react-native-web/src/exports/ActionSheetIOS/index.js b/packages/react-native-web/src/exports/ActionSheetIOS/index.js deleted file mode 100644 index ff8b4c56..00000000 --- a/packages/react-native-web/src/exports/ActionSheetIOS/index.js +++ /dev/null @@ -1 +0,0 @@ -export default {}; diff --git a/packages/react-native-web/src/index.js b/packages/react-native-web/src/index.js index 0b62bd71..74893995 100644 --- a/packages/react-native-web/src/index.js +++ b/packages/react-native-web/src/index.js @@ -90,7 +90,6 @@ import ToolbarAndroid from './exports/ToolbarAndroid'; import ViewPagerAndroid from './exports/ViewPagerAndroid'; import WebView from './exports/WebView'; // compat (apis) -import ActionSheetIOS from './exports/ActionSheetIOS'; import AlertIOS from './exports/AlertIOS'; import CameraRoll from './exports/CameraRoll'; import DatePickerAndroid from './exports/DatePickerAndroid'; @@ -198,7 +197,6 @@ export { ViewPagerAndroid, WebView, // compat (apis) - ActionSheetIOS, AlertIOS, CameraRoll, DatePickerAndroid,