This commit is contained in:
Mirco Wittrien 2019-11-08 12:56:32 +01:00
parent 001f13fd99
commit 437c7fb670
2 changed files with 2 additions and 2 deletions

View File

@ -6933,7 +6933,7 @@ var BDFDB = {
render() {
let items = (BDFDB.ArrayUtils.is(this.props.items) ? this.props.items : [{}]).filter(n => n);
return BDFDB.ReactUtils.createElement(NativeSubComponents.TabBar, BDFDB.ObjectUtils.exclude(Object.assign({}, this.props, {
selectedItem: (this.props.selectedItem || items[0] || {}).value,
selectedItem: this.props.selectedItem || (items[0] || {}).value,
onItemSelect: this.handleItemSelect.bind(this),
children: items.map(data => {
return BDFDB.ReactUtils.createElement(LibraryComponents.TabBar.Item, {

File diff suppressed because one or more lines are too long