code: function finish(e) {
        if (e && e.target !== node) {
          return;
        }
  
        clearTimeout(timer);
        if (removeListeners) removeListeners();
  
        (0, _removeClass2.default)(node, className);
        (0, _removeClass2.default)(node, activeClassName);
  
        if (removeListeners) removeListeners();
  
        // Usually this optional callback is used for informing an owner of
        // a leave animation and telling it to remove the child.
        if (finishCallback) {
          finishCallback();
        }
      }
docs: Clean-up the animation after the specified delay