props.js 639 B

123456789101112131415161718192021222324252627282930313233343536
  1. const props = {
  2. colors: {
  3. type: Array,
  4. },
  5. customValue: {
  6. type: Array,
  7. value: [true, false],
  8. },
  9. disabled: {
  10. type: Boolean,
  11. value: false,
  12. },
  13. label: {
  14. type: String,
  15. value: '',
  16. },
  17. loading: {
  18. type: Boolean,
  19. value: false,
  20. },
  21. size: {
  22. type: String,
  23. value: 'medium',
  24. },
  25. value: {
  26. type: Boolean,
  27. optionalTypes: [Number, String],
  28. value: null,
  29. },
  30. defaultValue: {
  31. type: Boolean,
  32. optionalTypes: [Number, String],
  33. value: null,
  34. },
  35. };
  36. export default props;