"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _vue = require("vue");
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _classNames2 = _interopRequireDefault(require("../../_util/classNames"));
var Handler = (0, _vue.defineComponent)({
  name: 'Handler',
  props: ['size', 'color', 'prefixCls'],
  setup: function setup(props) {
    var size = (0, _vue.computed)(function () {
      return props.size || 'default';
    });
    return function () {
      return (0, _vue.createVNode)("div", {
        "class": (0, _classNames2.default)("".concat(props.prefixCls, "-handler"), (0, _defineProperty2.default)({}, "".concat(props.prefixCls, "-handler-sm"), size.value === 'small')),
        "style": {
          backgroundColor: props.color
        }
      }, null);
    };
  }
});
var _default = Handler;
exports.default = _default;