'use strict';

require('../../../utils/index.js');
var runtime = require('../../../utils/props/runtime.js');

"use strict";
const direction = ["vertical", "horizontal"];
const optionType = ["default", "button"];
const radioGroupProps = runtime.buildProps({
  options: {
    type: runtime.definePropType(Array),
    default: () => []
  },
  // 是否使用栅格布局
  useGrid: {
    type: Boolean,
    default: true
  },
  // 栅格布局配置
  rowOptions: {
    type: runtime.definePropType(Object),
    default: () => {
    }
  },
  // 栅格项水平间距
  gutterHorizontal: {
    type: Number,
    default: 8
  },
  // 栅格项垂直间距
  gutterVertical: {
    type: Number,
    default: 8
  },
  // 子项占位格数
  allSpan: {
    type: Number,
    default: 6
  },
  // 排列方向
  direction: {
    type: String,
    values: direction,
    default: "horizontal"
  },
  // 项间距
  itemSpace: {
    type: Number,
    default: 8
  },
  // 单选器展示类型
  optionType: {
    type: String,
    default: "default",
    values: optionType
  }
});

exports.radioGroupProps = radioGroupProps;
//# sourceMappingURL=radio.js.map
