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

'use strict';

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

var props = {
  content: {
    type: [String, Function]
  },
  default: {
    type: [String, Function]
  },
  disabled: Boolean,
  hover: {
    type: String,
    default: "underline",
    validator(val) {
      if (!val) return true;
      return ["color", "underline"].includes(val);
    }
  },
  href: {
    type: String,
    default: ""
  },
  prefixIcon: {
    type: [Function, String]
  },
  size: {
    type: String,
    default: "medium",
    validator(val) {
      if (!val) return true;
      return ["small", "medium", "large"].includes(val);
    }
  },
  suffixIcon: {
    type: [Function, String]
  },
  target: {
    type: String,
    default: ""
  },
  theme: {
    type: String,
    default: "default",
    validator(val) {
      if (!val) return true;
      return ["default", "primary", "danger", "warning", "success"].includes(val);
    }
  },
  underline: Boolean,
  onClick: Function
};

exports["default"] = props;
//# sourceMappingURL=props.js.map
