(tabItem: RNTabItem)
| 39 | } |
| 40 | |
| 41 | appendInitialChild(tabItem: RNTabItem): void { |
| 42 | if (!(tabItem instanceof RNTabItem)) { |
| 43 | throw new Error("Children of tab should be of type TabItem"); |
| 44 | } |
| 45 | |
| 46 | if (tabItem.actualTabWidget) { |
| 47 | this.addTab(tabItem.actualTabWidget, new QIcon(), ""); |
| 48 | tabItem.parentTab = this; |
| 49 | setTabItemProps(tabItem, this, tabItem.initialProps, {}); |
| 50 | } |
| 51 | } |
| 52 | appendChild(child: RNTabItem): void { |
| 53 | this.appendInitialChild(child); |
| 54 | } |
no test coverage detected