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

Function goToIndex

stories/examples/Carousel/CustomTagExample.js:44–47  ·  view source on GitHub ↗
(newIndex)

Source from the content-addressed store, hash-verified

42 };
43
44 const goToIndex = (newIndex) => {
45 if (animating) return;
46 setActiveIndex(newIndex);
47 };
48
49 const slides = items.map((item) => {
50 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…