props.js 635 B

123456789101112131415161718192021222324252627282930313233343536
  1. const props = {
  2. backgroundColor: {
  3. type: String,
  4. optionalTypes: [Number],
  5. value: 'rgba(0, 0, 0, 1)',
  6. },
  7. images: {
  8. type: Array,
  9. value: [],
  10. },
  11. initialIndex: {
  12. type: Number,
  13. value: 0,
  14. },
  15. showIndex: {
  16. type: Boolean,
  17. value: false,
  18. },
  19. deleteBtn: {
  20. type: Boolean,
  21. value: false,
  22. },
  23. closeBtn: {
  24. type: Boolean,
  25. value: false,
  26. },
  27. visible: {
  28. type: Boolean,
  29. value: null,
  30. },
  31. defaultVisible: {
  32. type: Boolean,
  33. value: false,
  34. },
  35. };
  36. export default props;