"use strict";

exports.__esModule = true;
exports.default = void 0;

var actionSetAttribute = function actionSetAttribute(el, props, propName) {
  if (propName === 'className') {
    el.setAttribute('class', props.className);
  } else if (props[propName] && props[propName].constructor === Function) {} else {
    el.setAttribute(propName, props[propName]);
  }
};

var _default = actionSetAttribute;
exports.default = _default;