props.js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. const props = {
  2. block: {
  3. type: Boolean,
  4. value: false,
  5. },
  6. content: {
  7. type: String,
  8. },
  9. customDataset: {
  10. type: null,
  11. },
  12. disabled: {
  13. type: Boolean,
  14. value: false,
  15. },
  16. externalClasses: {
  17. type: Array,
  18. },
  19. ghost: {
  20. type: Boolean,
  21. value: false,
  22. },
  23. icon: {
  24. type: String,
  25. value: '',
  26. },
  27. iconProps: {
  28. type: Object,
  29. value: {},
  30. },
  31. loading: {
  32. type: Boolean,
  33. value: false,
  34. },
  35. loadingProps: {
  36. type: Object,
  37. },
  38. shape: {
  39. type: String,
  40. value: 'rectangle',
  41. },
  42. size: {
  43. type: String,
  44. value: 'medium',
  45. },
  46. theme: {
  47. type: String,
  48. value: 'default',
  49. },
  50. type: {
  51. type: String,
  52. },
  53. variant: {
  54. type: String,
  55. value: 'base',
  56. },
  57. openType: {
  58. type: String,
  59. },
  60. hoverStopPropagation: {
  61. type: Boolean,
  62. value: false,
  63. },
  64. hoverStartTime: {
  65. type: Number,
  66. value: 20,
  67. },
  68. hoverStayTime: {
  69. type: Number,
  70. value: 70,
  71. },
  72. lang: {
  73. type: String,
  74. value: 'en',
  75. },
  76. sessionFrom: {
  77. type: String,
  78. value: '',
  79. },
  80. sendMessageTitle: {
  81. type: String,
  82. value: '',
  83. },
  84. sendMessagePath: {
  85. type: String,
  86. value: '',
  87. },
  88. sendMessageImg: {
  89. type: String,
  90. value: '',
  91. },
  92. appParameter: {
  93. type: String,
  94. value: '',
  95. },
  96. showMessageCard: {
  97. type: Boolean,
  98. value: false,
  99. },
  100. };
  101. export default props;