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

var props = {
  alt: {
    type: String,
    default: ""
  },
  disabled: Boolean,
  error: {
    type: [Object, Function, String]
  },
  fit: {
    type: String,
    default: "fill",
    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, Function]
  },
  overlayTrigger: {
    type: String,
    default: "always",
    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(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
