mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-14 03:43:23 +00:00
committed by
Nicolas Gallagher
parent
6624a70cca
commit
cf91d75471
@@ -26,6 +26,7 @@ module.exports = {
|
||||
KeyboardAvoidingView: true,
|
||||
LayoutAnimation: true,
|
||||
Linking: true,
|
||||
LogBox: true,
|
||||
Modal: true,
|
||||
NativeEventEmitter: true,
|
||||
NativeModules: true,
|
||||
|
||||
17
packages/react-native-web/src/exports/LogBox/index.js
vendored
Normal file
17
packages/react-native-web/src/exports/LogBox/index.js
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Copyright (c) 2016-present, Nicolas Gallagher.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @flow
|
||||
*/
|
||||
|
||||
const LogBox = {
|
||||
ignoreLogs() {},
|
||||
ignoreAllLogs() {},
|
||||
uninstall() {},
|
||||
install() {}
|
||||
};
|
||||
|
||||
export default LogBox;
|
||||
1
packages/react-native-web/src/index.js
vendored
1
packages/react-native-web/src/index.js
vendored
@@ -59,6 +59,7 @@ export { default as TouchableWithoutFeedback } from './exports/TouchableWithoutF
|
||||
export { default as View } from './exports/View';
|
||||
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';
|
||||
|
||||
Reference in New Issue
Block a user