props.ts 443 B

12345678910111213141516171819202122232425262728
  1. // import {PropType} from 'vue'
  2. export default {
  3. color: {
  4. type: String,
  5. // default: '#c9c9c9'
  6. },
  7. type: {
  8. type: String, //as PropType<'circular'|'spinner'>,
  9. default: 'circular'
  10. },
  11. size: {
  12. type: String,
  13. // #ifdef APP-NVUE
  14. default: '40rpx'
  15. // #endif
  16. },
  17. text: String,
  18. textColor: String,
  19. textSize: {
  20. type: [String, Number]
  21. },
  22. vertical: Boolean,
  23. inheritColor: Boolean,
  24. animated: {
  25. type: Boolean,
  26. default: true
  27. }
  28. }