()
| 4640 | } |
| 4641 | |
| 4642 | next() { |
| 4643 | if (this.animating) return; |
| 4644 | const nextIndex = |
| 4645 | this.state.activeIndex === this.items.length - 1 |
| 4646 | ? 0 |
| 4647 | : this.state.activeIndex + 1; |
| 4648 | this.setState({ activeIndex: nextIndex }); |
| 4649 | } |
| 4650 | |
| 4651 | previous() { |
| 4652 | if (this.animating) return; |
no outgoing calls
no test coverage detected