"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;

var _configProvider = _interopRequireDefault(require("../config-provider"));

var _numberPicker = _interopRequireDefault(require("./number-picker"));

var _util = require("../util");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var _default = _configProvider["default"].config(_numberPicker["default"], {
  transform:
  /* istanbul ignore next */
  function transform(props) {
    if ('onDisabled' in props && typeof props.onDisabled === 'function') {
      _util.log.warning('[NumberPicker]: onDisabled is deleted!');
    }

    return props;
  }
});

exports["default"] = _default;