'use strict';

require('../../../../utils/index.cjs');
var log = require('../../../../utils/log.cjs');

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

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