/**
 * ldesign v0.2.2
 * (c) 2022年9月20日 swimly
 * @license MIT
 */

'use strict';

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

var RadioProps = {
  allowUncheck: Boolean,
  checked: Boolean,
  defaultChecked: Boolean,
  "default": {
    type: [String, Function]
  },
  disabled: {
    type: Boolean,
    "default": void 0
  },
  label: {
    type: [String, Function]
  },
  name: {
    type: String,
    "default": ""
  },
  value: {
    type: [String, Number, Boolean],
    "default": ""
  },
  onChange: Function
};
var RadioGroupProps = {
  disabled: {
    type: Boolean,
    "default": false
  },
  name: {
    type: String,
    "default": ""
  },
  options: {
    type: Array
  },
  size: {
    type: String,
    "default": "medium",
    validator: function validator(val) {
      return ["small", "medium", "large"].includes(val);
    }
  },
  value: {
    type: [String, Number, Boolean],
    "default": ""
  },
  defaultValue: {
    type: [String, Number, Boolean],
    "default": ""
  },
  variant: {
    type: String,
    "default": "outline",
    validator: function validator(val) {
      return ["outline", "primary-filled", "default-filled"].includes(val);
    }
  },
  onChange: Function
};
var props = {
  RadioGroupProps: RadioGroupProps,
  RadioProps: RadioProps
};

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