'How can I change the direction that my carousel goes at every interval

I am using the react-bootstrap carousel component which slides after a set interval. I want to change the direction that it slides after each interval. currently it transitions to the slide on the right, I want it to transition to the slide on the left. Is there an attribute I can add to make this change?

I am using the Individual Item Intervals carousel component, Thank you.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source