/**
 * ldesign v0.2.14
 * (c) 2022/11/2 16:16 built by swimly
 * @license MIT
 */

'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var props = {
  closeBtn: {
    type: [String, Boolean, Function],
    default: void 0
  },
  content: {
    type: [String, Function]
  },
  duration: {
    type: Number,
    default: 3e3
  },
  icon: {
    type: [Boolean, Function],
    default: true
  },
  theme: {
    type: String,
    default: "info",
    validator(val) {
      if (!val) return true;
      return ["info", "success", "warning", "error", "question", "loading"].includes(val);
    }
  },
  onClose: Function,
  onCloseBtnClick: Function,
  onDurationEnd: Function
};

exports["default"] = props;
//# sourceMappingURL=props.js.map
