props.js 540 B

123456789101112131415161718192021222324252627282930
  1. import { defineProps } from '../../libs/util/props';
  2. import theme from '../../libs/config/theme.js'
  3. export default defineProps('cellGroup', {
  4. // 分组标题
  5. title: {
  6. type: String,
  7. default: ''
  8. },
  9. // 是否显示外边框
  10. border: {
  11. type: Boolean,
  12. default: true
  13. },
  14. // 背景颜色
  15. backgroundColor: {
  16. type: String,
  17. default: ''
  18. },
  19. // 边框圆角
  20. round: {
  21. type: String,
  22. default: ''
  23. },
  24. // 边框颜色
  25. borderColor: {
  26. type: String,
  27. default: theme.borderColor
  28. }
  29. })