(item: Component)
| 145 | } |
| 146 | |
| 147 | addItem(item: Component): void { |
| 148 | this.state.items.push(item); |
| 149 | this.setActiveItem(0); |
| 150 | } |
| 151 | |
| 152 | removeItem(item: Component): void { |
| 153 | this.state.items.splice(this.state.items.indexOf(item), 1); |
no test coverage detected