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

const 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
};
const RadioGroupProps = {
  disabled: {
    type: Boolean,
    default: false
  },
  name: {
    type: String,
    default: ""
  },
  options: {
    type: Array
  },
  size: {
    type: String,
    default: "medium",
    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(val) {
      return ["outline", "primary-filled", "default-filled"].includes(val);
    }
  },
  onChange: Function
};
var props = {
  RadioGroupProps,
  RadioProps
};

export { RadioGroupProps, RadioProps, props as default };
//# sourceMappingURL=props.js.map
