import { __extends as p } from "../../../../../tslib/tslib.es6.es.js";
import i from "react";
var a = function(e) {
  p(t, e);
  function t() {
    return e !== null && e.apply(this, arguments) || this;
  }
  return t.prototype.getSnapshotBeforeUpdate = function() {
    return this.updateProps(), null;
  }, t.prototype.componentDidUpdate = function() {
  }, t.prototype.updateProps = function() {
    var n = this.props, o = n.visualElement, r = n.props;
    o && o.setProps(r);
  }, t.prototype.render = function() {
    return this.props.children;
  }, t;
}(i.Component);
export {
  a as VisualElementHandler
};
//# sourceMappingURL=VisualElementHandler.es.js.map
