合同小程序前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.3 KiB

  1. // @ts-nocheck
  2. export default {
  3. /** 是否允许取消选中 */
  4. allowUncheck: Boolean,
  5. /** 是否禁用全部子单选框。默认为 false。RadioGroup.disabled 优先级低于 Radio.disabled */
  6. disabled: Boolean,
  7. /** HTML 元素原生属性 */
  8. name: {
  9. type: String,
  10. default: null,
  11. },
  12. /** 选中的值 */
  13. value: {
  14. type: [String, Number, Boolean], //as PropType<LRadioGroupProps['value']>,
  15. default: null,
  16. },
  17. modelValue: {
  18. type: [String, Number, Boolean], //as PropType<LRadioGroupProps['value']>,
  19. default: null,
  20. },
  21. /** 选中的值,非受控属性 */
  22. defaultValue: {
  23. type: [String, Number, Boolean] //as PropType<LRadioGroupProps['defaultValue']>,
  24. },
  25. checkedColor: {
  26. type: String,
  27. default: null
  28. },
  29. iconBgColor: {
  30. type: String,
  31. default: null
  32. },
  33. iconBorderColor: {
  34. type: String,
  35. default: null
  36. },
  37. iconDisabledColor: {
  38. type: String,
  39. default: null
  40. },
  41. iconDisabledBgColor: {
  42. type: String,
  43. default: null
  44. },
  45. icon: {
  46. type: String,
  47. default: 'circle'
  48. }, //?: 'circle' | 'line' | 'dot';
  49. size: {
  50. type: String,
  51. default: 'medium'
  52. }, //?: 'small' | 'medium' | 'large';
  53. iconSize: {
  54. type: String,
  55. defalut: null
  56. },
  57. fontSize: {
  58. type: String,
  59. defalut: null
  60. },
  61. direction: {
  62. type: String,
  63. default: 'horizontal'
  64. }, //'horizontal' | 'vertical'
  65. gap: {
  66. type: String,
  67. default: null
  68. },
  69. }