import '../../../../utils/index.mjs';
import { warning } from '../../../../utils/log.mjs';

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

export { legacyPropsWarning };
//# sourceMappingURL=warnUtil.mjs.map
