(newProps: TabItemProps, oldProps: TabItemProps)
| 46 | parentTab?: RNTab; |
| 47 | |
| 48 | setProps(newProps: TabItemProps, oldProps: TabItemProps): void { |
| 49 | if (this.parentTab) { |
| 50 | setTabItemProps(this, this.parentTab, newProps, oldProps); |
| 51 | } else { |
| 52 | this.initialProps = newProps; |
| 53 | } |
| 54 | } |
| 55 | appendInitialChild(child: QWidget<any>): void { |
| 56 | if (this.actualTabWidget) { |
| 57 | throw new Error("Tab Item can have only one child"); |
no test coverage detected