1
0
mirror of https://github.com/bobwen-dev/react-templates synced 2025-04-12 00:56:39 +02:00
react-templates/src/reactNativeSupport.js
2016-07-07 13:52:06 +02:00

20 lines
722 B
JavaScript

'use strict';
const ver0_9_0 = ['ActivityIndicatorIOS', 'DatePickerIOS', 'Image', 'ListView', 'MapView', 'Navigator', 'NavigatorIOS', 'PickerIOS', 'ScrollView', 'SliderIOS', 'SwitchIOS', 'TabBarIOS', 'Text', 'TextInput', 'TouchableHighlight', 'TouchableOpacity', 'TouchableWithoutFeedback', 'View', 'WebView'];
const versions = {
'0.9.0': {
react: {name: 'React', module: 'react-native'},
reactNative: {name: 'React', module: 'react-native'},
components: ver0_9_0
},
'0.29.0': {
react: {name: 'React', module: 'react'},
reactNative: {name: 'ReactNative', module: 'react-native'},
components: ver0_9_0
},
default: '0.9.0'
};
module.exports = versions;