import _inheritsLoose from "@babel/runtime/helpers/inheritsLoose";
import * as React from 'react';
import { Component } from 'react';
import "./index.scss";
import XtDialog from "../dialog";
var DialogForm = /*#__PURE__*/function (_Component) {
  _inheritsLoose(DialogForm, _Component);
  function DialogForm() {
    return _Component.apply(this, arguments) || this;
  }
  var _proto = DialogForm.prototype;
  // handleChange = (key) => {
  //   // console.log(key);
  // };
  // handleClick = (e) => {
  //   // console.log(e);
  // };
  _proto.render = function render() {
    // 内容区
    var content = /*#__PURE__*/React.createElement("div", {
      className: "form-content"
    }, /*#__PURE__*/React.createElement("div", {
      className: "all-content"
    }, /*#__PURE__*/React.createElement("div", {
      className: "left-content"
    }, this.props.children)));
    return /*#__PURE__*/React.createElement(XtDialog, {
      content: content,
      visible: this.props.visible,
      onClose: this.props.onClose
    });
  };
  return DialogForm;
}(Component);
DialogForm.displayName = 'DialogForm';
export { DialogForm as default };