MCPcopy Create free account
hub / github.com/reactstrap/reactstrap / next

Method next

types/reactstrap-tests.tsx:4642–4649  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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;

Callers 3

handleKeyPressMethod · 0.80
handleTouchEndMethod · 0.80
setIntervalMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected