constructor(props) {
    super(props);

    this.state = {
      showLoopedAnimation: true,
    };
  }
TransitionWithOptions: demonstrates how you can switch to a
new animation with different options. For example, you can start
with a looped animation and change to one that plays only once
without mounting the component again