"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = pickProFormItemProps;
const antdFormItemPropsList = [
// https://ant.design/components/form-cn/#Form.Item
'colon', 'dependencies', 'extra', 'getValueFromEvent', 'getValueProps', 'hasFeedback', 'help', 'htmlFor', 'initialValue', 'noStyle', 'label', 'labelAlign', 'labelCol', 'name', 'preserve', 'normalize', 'required', 'rules', 'shouldUpdate', 'trigger', 'validateFirst', 'validateStatus', 'validateTrigger', 'valuePropName', 'wrapperCol', 'hidden'];
function pickProFormItemProps(props) {
  const attrs = {};
  antdFormItemPropsList.forEach(key => {
    if (props[key] !== undefined) {
      attrs[key] = props[key];
    }
  });
  return attrs;
}