constructor(props) {
    super(props);

    this.state = {
      isStopped: true,
      isPaused: false,
      speed: 1,
      direction: 1,
      isLike: false,
      isTransitioned: false,
    };
  }
TransitionLoop, demonstrates the use of the eventListener Props.
NOTE: there appears to currently be a bug in either
react-lottie or lottie-web which results in a chance of the loop option not
taking effect accross different animations.