|
@@ -2,7 +2,6 @@
|
2
|
2
|
import React, {Component} from 'react';
|
3
|
3
|
import ReactNative, {AppRegistry, NativeModules, processColor} from 'react-native';
|
4
|
4
|
import _ from 'lodash';
|
5
|
|
-import PropRegistry from './../PropRegistry';
|
6
|
5
|
|
7
|
6
|
import Navigation from './../Navigation';
|
8
|
7
|
|
|
@@ -332,11 +331,6 @@ function navigatorSetButtons(navigator, navigatorEventID, _params) {
|
332
|
331
|
if (button.buttonColor) {
|
333
|
332
|
button.color = processColor(button.buttonColor);
|
334
|
333
|
}
|
335
|
|
- if (button.component) {
|
336
|
|
- const passPropsKey = _.uniqueId('customButtonComponent');
|
337
|
|
- PropRegistry.save(passPropsKey, button.passProps);
|
338
|
|
- button.passProps = {passPropsKey};
|
339
|
|
- }
|
340
|
334
|
});
|
341
|
335
|
}
|
342
|
336
|
let leftButton = getLeftButton(params);
|