mirror of
https://github.com/bobwen-dev/react-templates
synced 2025-04-12 00:56:39 +02:00
Support for react native 0.29.0
This commit is contained in:
parent
305d132a48
commit
bde2f67e01
@ -3,7 +3,16 @@
|
|||||||
const ver0_9_0 = ['ActivityIndicatorIOS', 'DatePickerIOS', 'Image', 'ListView', 'MapView', 'Navigator', 'NavigatorIOS', 'PickerIOS', 'ScrollView', 'SliderIOS', 'SwitchIOS', 'TabBarIOS', 'Text', 'TextInput', 'TouchableHighlight', 'TouchableOpacity', 'TouchableWithoutFeedback', 'View', 'WebView'];
|
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 = {
|
const versions = {
|
||||||
'0.9.0': ver0_9_0,
|
'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'
|
default: '0.9.0'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -10,6 +10,16 @@ const native = {
|
|||||||
SectionHeader: {prop: 'renderSectionHeader', arguments: ['sectionData', 'sectionID']},
|
SectionHeader: {prop: 'renderSectionHeader', arguments: ['sectionData', 'sectionID']},
|
||||||
Separator: {prop: 'renderSeparator', arguments: ['sectionID', 'rowID', 'adjacentRowHighlighted']}
|
Separator: {prop: 'renderSeparator', arguments: ['sectionID', 'rowID', 'adjacentRowHighlighted']}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
'0.29.0': {
|
||||||
|
ListView: {
|
||||||
|
Row: {prop: 'renderRow', arguments: ['rowData', 'sectionID', 'rowID', 'highlightRow']},
|
||||||
|
Footer: {prop: 'renderFooter', arguments: []},
|
||||||
|
Header: {prop: 'renderHeader', arguments: []},
|
||||||
|
ScrollComponent: {prop: 'renderScrollComponent', arguments: ['props']},
|
||||||
|
SectionHeader: {prop: 'renderSectionHeader', arguments: ['sectionData', 'sectionID']},
|
||||||
|
Separator: {prop: 'renderSeparator', arguments: ['sectionID', 'rowID', 'adjacentRowHighlighted']}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user