mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-01 18:15:13 +00:00
@@ -45,6 +45,7 @@ module.exports = {
|
|||||||
Slider: true,
|
Slider: true,
|
||||||
StatusBar: true,
|
StatusBar: true,
|
||||||
StyleSheet: true,
|
StyleSheet: true,
|
||||||
|
SwipeableListView: true,
|
||||||
Switch: true,
|
Switch: true,
|
||||||
Text: true,
|
Text: true,
|
||||||
TextInput: true,
|
TextInput: true,
|
||||||
|
|||||||
+112
-2
@@ -1,3 +1,5 @@
|
|||||||
|
import UnimplementedView from './modules/UnimplementedView';
|
||||||
|
|
||||||
import createElement from './exports/createElement';
|
import createElement from './exports/createElement';
|
||||||
import findNodeHandle from './exports/findNodeHandle';
|
import findNodeHandle from './exports/findNodeHandle';
|
||||||
import processColor from './exports/processColor';
|
import processColor from './exports/processColor';
|
||||||
@@ -69,6 +71,43 @@ import ColorPropType from './exports/ColorPropType';
|
|||||||
import EdgeInsetsPropType from './exports/EdgeInsetsPropType';
|
import EdgeInsetsPropType from './exports/EdgeInsetsPropType';
|
||||||
import PointPropType from './exports/PointPropType';
|
import PointPropType from './exports/PointPropType';
|
||||||
|
|
||||||
|
const emptyObject = {};
|
||||||
|
// compat (components)
|
||||||
|
const DatePickerIOS = UnimplementedView;
|
||||||
|
const DrawerLayoutAndroid = UnimplementedView;
|
||||||
|
const ImageEditor = UnimplementedView;
|
||||||
|
const ImageStore = UnimplementedView;
|
||||||
|
const InputAccessoryView = UnimplementedView;
|
||||||
|
const MaskedViewIOS = UnimplementedView;
|
||||||
|
const NavigatorIOS = UnimplementedView;
|
||||||
|
const PickerIOS = UnimplementedView;
|
||||||
|
const ProgressBarAndroid = UnimplementedView;
|
||||||
|
const ProgressViewIOS = UnimplementedView;
|
||||||
|
const SegmentedControlIOS = UnimplementedView;
|
||||||
|
const SnapshotViewIOS = UnimplementedView;
|
||||||
|
const SwipeableFlatList = UnimplementedView;
|
||||||
|
const SwipeableListView = UnimplementedView;
|
||||||
|
const TabBarIOS = UnimplementedView;
|
||||||
|
const ToastAndroid = UnimplementedView;
|
||||||
|
const ToolbarAndroid = UnimplementedView;
|
||||||
|
const ViewPagerAndroid = UnimplementedView;
|
||||||
|
const WebView = UnimplementedView;
|
||||||
|
const YellowBox = UnimplementedView;
|
||||||
|
// compat (apis)
|
||||||
|
const ActionSheetIOS = emptyObject;
|
||||||
|
const AlertIOS = emptyObject;
|
||||||
|
const CameraRoll = emptyObject;
|
||||||
|
const DatePickerAndroid = emptyObject;
|
||||||
|
const ImagePickerIOS = emptyObject;
|
||||||
|
const PermissionsAndroid = emptyObject;
|
||||||
|
const PushNotificationIOS = emptyObject;
|
||||||
|
const Settings = emptyObject;
|
||||||
|
const StatusBarIOS = emptyObject;
|
||||||
|
const Systrace = emptyObject;
|
||||||
|
const TimePickerAndroid = emptyObject;
|
||||||
|
const TVEventHandler = emptyObject;
|
||||||
|
const VibrationIOS = emptyObject;
|
||||||
|
|
||||||
export {
|
export {
|
||||||
// top-level API
|
// top-level API
|
||||||
createElement,
|
createElement,
|
||||||
@@ -138,7 +177,42 @@ export {
|
|||||||
// propTypes
|
// propTypes
|
||||||
ColorPropType,
|
ColorPropType,
|
||||||
EdgeInsetsPropType,
|
EdgeInsetsPropType,
|
||||||
PointPropType
|
PointPropType,
|
||||||
|
// compat (components)
|
||||||
|
DatePickerIOS,
|
||||||
|
DrawerLayoutAndroid,
|
||||||
|
ImageEditor,
|
||||||
|
ImageStore,
|
||||||
|
InputAccessoryView,
|
||||||
|
MaskedViewIOS,
|
||||||
|
NavigatorIOS,
|
||||||
|
PickerIOS,
|
||||||
|
ProgressBarAndroid,
|
||||||
|
ProgressViewIOS,
|
||||||
|
SegmentedControlIOS,
|
||||||
|
SnapshotViewIOS,
|
||||||
|
SwipeableFlatList,
|
||||||
|
SwipeableListView,
|
||||||
|
TabBarIOS,
|
||||||
|
ToastAndroid,
|
||||||
|
ToolbarAndroid,
|
||||||
|
ViewPagerAndroid,
|
||||||
|
WebView,
|
||||||
|
YellowBox,
|
||||||
|
// compat (apis)
|
||||||
|
ActionSheetIOS,
|
||||||
|
AlertIOS,
|
||||||
|
CameraRoll,
|
||||||
|
DatePickerAndroid,
|
||||||
|
ImagePickerIOS,
|
||||||
|
PermissionsAndroid,
|
||||||
|
PushNotificationIOS,
|
||||||
|
Settings,
|
||||||
|
StatusBarIOS,
|
||||||
|
Systrace,
|
||||||
|
TimePickerAndroid,
|
||||||
|
TVEventHandler,
|
||||||
|
VibrationIOS
|
||||||
};
|
};
|
||||||
|
|
||||||
const ReactNative = {
|
const ReactNative = {
|
||||||
@@ -210,7 +284,43 @@ const ReactNative = {
|
|||||||
// propTypes
|
// propTypes
|
||||||
ColorPropType,
|
ColorPropType,
|
||||||
EdgeInsetsPropType,
|
EdgeInsetsPropType,
|
||||||
PointPropType
|
PointPropType,
|
||||||
|
|
||||||
|
// compat (components)
|
||||||
|
DatePickerIOS,
|
||||||
|
DrawerLayoutAndroid,
|
||||||
|
ImageEditor,
|
||||||
|
ImageStore,
|
||||||
|
InputAccessoryView,
|
||||||
|
MaskedViewIOS,
|
||||||
|
NavigatorIOS,
|
||||||
|
PickerIOS,
|
||||||
|
ProgressBarAndroid,
|
||||||
|
ProgressViewIOS,
|
||||||
|
SegmentedControlIOS,
|
||||||
|
SnapshotViewIOS,
|
||||||
|
SwipeableFlatList,
|
||||||
|
SwipeableListView,
|
||||||
|
TabBarIOS,
|
||||||
|
ToastAndroid,
|
||||||
|
ToolbarAndroid,
|
||||||
|
ViewPagerAndroid,
|
||||||
|
WebView,
|
||||||
|
YellowBox,
|
||||||
|
// compat (apis)
|
||||||
|
ActionSheetIOS,
|
||||||
|
AlertIOS,
|
||||||
|
CameraRoll,
|
||||||
|
DatePickerAndroid,
|
||||||
|
ImagePickerIOS,
|
||||||
|
PermissionsAndroid,
|
||||||
|
PushNotificationIOS,
|
||||||
|
Settings,
|
||||||
|
StatusBarIOS,
|
||||||
|
Systrace,
|
||||||
|
TimePickerAndroid,
|
||||||
|
TVEventHandler,
|
||||||
|
VibrationIOS
|
||||||
};
|
};
|
||||||
|
|
||||||
export default ReactNative;
|
export default ReactNative;
|
||||||
|
|||||||
Reference in New Issue
Block a user