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

Method goToIndex

types/reactstrap-tests.tsx:4660–4663  ·  view source on GitHub ↗
(newIndex: number)

Source from the content-addressed store, hash-verified

4658 }
4659
4660 goToIndex(newIndex: number) {
4661 if (this.animating) return;
4662 this.setState({ activeIndex: newIndex });
4663 }
4664
4665 render() {
4666 const { activeIndex } = this.state;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected