props.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. export const props = {
  2. prefixCls: {
  3. type: String,
  4. value: 'wux-checkbox-group',
  5. },
  6. cellGroupPrefixCls: {
  7. type: String,
  8. value: 'wux-cell-group',
  9. },
  10. value: {
  11. type: Array,
  12. value: [],
  13. },
  14. title: {
  15. type: String,
  16. value: '',
  17. },
  18. label: {
  19. type: String,
  20. value: '',
  21. },
  22. options: {
  23. type: Array,
  24. value: [],
  25. },
  26. disabled: {
  27. type: Boolean,
  28. value: false,
  29. },
  30. readOnly: {
  31. type: Boolean,
  32. value: false,
  33. },
  34. mode: {
  35. type: String,
  36. value: 'default',
  37. },
  38. bodyStyle: {
  39. type: [String, Object],
  40. value: '',
  41. },
  42. hasLine: {
  43. type: Boolean,
  44. value: true,
  45. },
  46. withListComponent: {
  47. type: Boolean,
  48. value: true,
  49. },
  50. iconPosition: {
  51. type: String,
  52. value: 'left',
  53. },
  54. iconSize: {
  55. type: String,
  56. value: '',
  57. },
  58. iconOn: {
  59. type: String,
  60. value: '',
  61. },
  62. iconOff: {
  63. type: String,
  64. value: '',
  65. },
  66. }