/**
 * ldesign v0.2.22
 * (c) 2022/12/7 16:21 built by swimly
 * @license MIT
 */

'use strict';

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

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"
  }
};

exports.AvatarGroupProps = AvatarGroupProps;
exports.AvatarProps = AvatarProps;
//# sourceMappingURL=props.js.map
