"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports["default"] = void 0;
var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/inheritsLoose"));
var _react = _interopRequireDefault(require("react"));
require("./index.scss");
var _variables = require("../../variables");
//这是字段组件
var Field = /*#__PURE__*/function (_React$Component) {
  (0, _inheritsLoose2["default"])(Field, _React$Component);
  function Field(props) {
    return _React$Component.call(this, props) || this;
  }
  var _proto = Field.prototype;
  _proto.render = function render() {
    var _this$props = this.props,
      displayName = _this$props.displayName,
      fieldName = _this$props.fieldName,
      style = _this$props.style;
    // console.log(displayName);
    return /*#__PURE__*/_react["default"].createElement("div", {
      style: style,
      className: _variables.bizCssPrefix + '-field'
    }, displayName);
  };
  return Field;
}(_react["default"].Component);
Field.displayName = 'Field';
var _default = Field;
exports["default"] = _default;