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

const TimeLineProps = {
  labelAlign: {
    type: String,
    default: "left",
    validator(val) {
      if (!val) return true;
      return ["left", "right", "alternate", "top", "bottom"].includes(val);
    }
  },
  layout: {
    type: String,
    default: "vertical",
    validator(val) {
      if (!val) return true;
      return ["horizontal", "vertical"].includes(val);
    }
  },
  mode: {
    type: String,
    default: "alternate",
    validator(val) {
      if (!val) return true;
      return ["alternate", "same"].includes(val);
    }
  },
  reverse: Boolean,
  theme: {
    type: String,
    default: "default",
    validator(val) {
      if (!val) return true;
      return ["default", "dot"].includes(val);
    }
  }
};
const TimeLineItemProps = {
  content: {
    type: [String, Function]
  },
  dot: {
    type: Function
  },
  dotColor: {
    type: String,
    default: "primary",
    validator(val) {
      if (!val) return true;
      return ["primary", "warning", "error", "default"].includes(val);
    }
  },
  label: {
    type: [String, Function]
  },
  labelAlign: {
    type: String,
    validator(val) {
      if (!val) return true;
      return ["left", "right", "top", "bottom"].includes(val);
    }
  },
  loading: Boolean
};

export { TimeLineItemProps, TimeLineProps };
//# sourceMappingURL=props.js.map
