'use strict';

var warning = require('../../vc-util/warning.js');

function legacyPropsWarning(props) {
  const { picker, disabledHours, disabledMinutes, disabledSeconds } = props;
  if (picker === "time" && (disabledHours || disabledMinutes || disabledSeconds)) {
    warning.warning(
      false,
      "'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead."
    );
  }
}

exports.legacyPropsWarning = legacyPropsWarning;
//# sourceMappingURL=warnUtil.js.map
