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

Function goToIndex

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

Source from the content-addressed store, hash-verified

45 };
46
47 const goToIndex = (newIndex) => {
48 if (animating) return;
49 setActiveIndex(newIndex);
50 };
51
52 const slides = items.map((item) => {
53 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…