mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 20:25:33 +08:00
[react-packager] change all but one ix to require
This commit is contained in:
@@ -41,7 +41,7 @@ var DEFAULT_PROPS = {
|
||||
* <TouchableHighlight onPress={this._onPressButton}>
|
||||
* <Image
|
||||
* style={styles.button}
|
||||
* source={ix('myButton')}
|
||||
* source={require('image!myButton')}
|
||||
* />
|
||||
* </View>
|
||||
* );
|
||||
|
||||
@@ -30,7 +30,7 @@ var onlyChild = require('onlyChild');
|
||||
* <TouchableOpacity onPress={this._onPressButton}>
|
||||
* <Image
|
||||
* style={styles.button}
|
||||
* source={ix('myButton')}
|
||||
* source={require('image!myButton')}
|
||||
* />
|
||||
* </View>
|
||||
* );
|
||||
|
||||
Reference in New Issue
Block a user