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

const AvatarProps = {
  alt: {
    type: String,
    default: ""
  },
  hideOnLoadFailed: Boolean,
  icon: {
    type: Function
  },
  image: {
    type: String,
    default: ""
  },
  shape: {
    type: String,
    default: "circle",
    validator(val) {
      return ["circle", "round"].includes(val);
    }
  },
  size: {
    type: String,
    default: ""
  },
  onError: Function
};
const AvatarGroupProps = {
  cascading: {
    type: String,
    default: "right-up",
    validator(val) {
      return ["left-up", "right-up"].includes(val);
    }
  },
  collapseAvatar: {
    type: [String, Function]
  },
  max: {
    type: Number
  },
  placement: {
    type: String,
    validator(val) {
      return ["left", "top", "bottom", "right"].includes(val);
    }
  },
  popupProps: {
    type: Object
  },
  size: {
    type: String,
    default: "medium"
  }
};

export { AvatarGroupProps, AvatarProps };
//# sourceMappingURL=props.js.map
