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

'use strict';

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

var props = {
  block: Boolean,
  content: {
    type: [String, Function]
  },
  default: {
    type: [String, Function]
  },
  disabled: Boolean,
  href: String,
  ghost: Boolean,
  icon: {
    type: [Function, String]
  },
  loading: Boolean,
  shape: {
    type: String,
    default: "rectangle",
    validator(val) {
      return ["rectangle", "square", "round", "circle"].includes(val);
    }
  },
  size: {
    type: String,
    default: "medium",
    validator(val) {
      return ["small", "medium", "large"].includes(val);
    }
  },
  tag: {
    type: String,
    default: void 0,
    validator(val) {
      return ["button", "a", "div"].includes(val);
    }
  },
  theme: {
    type: String,
    default: void 0,
    validator(val) {
      return ["default", "primary", "danger", "warning", "success"].includes(val);
    }
  },
  type: {
    type: String,
    default: "button",
    validator(val) {
      return ["submit", "reset", "button"].includes(val);
    }
  },
  variant: {
    type: String,
    default: "base",
    validator(val) {
      return ["base", "outline", "dashed", "text", "plain"].includes(val);
    }
  },
  onClick: Function
};

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