constructor() {
      super();

      // set initial state here
      this.state = {
        iconCardAnimation:"showIconAnim",
        contentCardAnimation:"hideAnim",
        runInfoCardAnimation:false,
        runIconCardAnimation:false,
      }

      // bind `this` to functions
      this._onCardClick = this._onCardClick.bind(this);
      this._animateIconCard = this._animateIconCard.bind(this);
      this._animateContentCard = this._animateContentCard.bind(this);
      this._animateIconCardFinished = this._animateIconCardFinished.bind(this);
      this._animateContentCardFinished = this._animateContentCardFinished.bind(this);
    }
Custom control that toggles between two viro images: an Icon Card and a Content Card.
This control can be given a reference to the required('./image') content to be displayed,
and as well as the size it should be scaled to. Note that the Icon Card is displayed by default.

Accepted propTypes:
@content - Reference to the require('./image') content to displayed upon clicking of the Icon Card.
@contentCardScale - The size of the Content Card that it should be animated to.