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

const AnchorProps = {
  affixProps: {
    type: Object
  },
  bounds: {
    type: Number,
    default: 5
  },
  container: {
    type: [String, Function],
    default: () => () => window
  },
  cursor: {
    type: Function
  },
  size: {
    type: String,
    default: "medium",
    validator(val) {
      return ["small", "medium", "large"].includes(val);
    }
  },
  targetOffset: {
    type: Number,
    default: 0
  },
  onChange: Function,
  onClick: Function
};
const AnchorTargetProps = {
  id: {
    type: String,
    default: "",
    required: true
  },
  tag: {
    type: String,
    default: "div"
  }
};
const AnchorItemProps = {
  href: {
    type: String,
    default: "",
    required: true
  },
  target: {
    type: String,
    default: "_self",
    validator(val) {
      return ["_self", "_blank", "_parent", "_top"].includes(val);
    }
  },
  title: {
    type: [String, Function],
    default: ""
  }
};
var props = {
  AnchorProps,
  AnchorItemProps,
  AnchorTargetProps
};

export { AnchorItemProps, AnchorProps, AnchorTargetProps, props as default };
//# sourceMappingURL=props.js.map
