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

var props = {
  alt: {
    type: String,
    "default": ""
  },
  disabled: Boolean,
  error: {
    type: Object
  },
  fit: {
    type: String,
    "default": "fill",
    validator: function validator(val) {
      if (!val) return true;
      return ["contain", "cover", "fill", "none", "scale-down"].includes(val);
    }
  },
  gallery: Boolean,
  lazy: Boolean,
  loading: {
    type: Object
  },
  overlayContent: {
    type: Object
  },
  overlayTrigger: {
    type: String,
    "default": "always",
    validator: function validator(val) {
      if (!val) return true;
      return ["always", "hover"].includes(val);
    }
  },
  placeholder: {
    type: Object
  },
  position: {
    type: String,
    "default": "center"
  },
  shape: {
    type: String,
    "default": "square",
    validator: function validator(val) {
      if (!val) return true;
      return ["circle", "round", "square"].includes(val);
    }
  },
  src: {
    type: String,
    "default": ""
  },
  onError: Function,
  onLoad: Function
};

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