/**
 * ldesign v0.2.3
 * (c) 2022年9月24日 swimly
 * @license MIT
 */

var props = {
  cancelBtn: {
    type: [String, Object, Function],
    default: ""
  },
  confirmBtn: {
    type: [String, Object, Function],
    default: ""
  },
  content: {
    type: [String, Function]
  },
  default: {
    type: [String, Function]
  },
  destroyOnClose: {
    type: Boolean,
    default: true
  },
  icon: {
    type: Function
  },
  placement: {
    type: String,
    default: "top",

    validator(val) {
      return ["top", "left", "right", "bottom", "top-left", "top-right", "bottom-left", "bottom-right", "left-top", "left-bottom", "right-top", "right-bottom"].includes(val);
    }

  },
  popupProps: {
    type: Object
  },
  showArrow: {
    type: Boolean,
    default: true
  },
  theme: {
    type: String,
    default: "default",

    validator(val) {
      return ["default", "warning", "danger"].includes(val);
    }

  },
  triggerElement: {
    type: [String, Function]
  },
  visible: Boolean,
  defaultVisible: Boolean,
  onCancel: Function,
  onConfirm: Function,
  onVisibleChange: Function
};

export { props as default };
//# sourceMappingURL=props.js.map
