props.js 812 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. const props = {
  2. action: {
  3. type: String,
  4. },
  5. align: {
  6. type: String,
  7. value: 'left',
  8. },
  9. closeBtn: {
  10. type: null,
  11. value: false,
  12. },
  13. content: {
  14. type: String,
  15. },
  16. duration: {
  17. type: Number,
  18. value: 3000,
  19. },
  20. externalClasses: {
  21. type: Array,
  22. },
  23. icon: {
  24. type: null,
  25. value: true,
  26. },
  27. marquee: {
  28. type: null,
  29. value: false,
  30. },
  31. offset: {
  32. type: Array,
  33. },
  34. theme: {
  35. type: String,
  36. value: 'info',
  37. },
  38. visible: {
  39. type: Boolean,
  40. value: false,
  41. },
  42. defaultVisible: {
  43. type: Boolean,
  44. value: false,
  45. },
  46. zIndex: {
  47. type: Number,
  48. value: 15000,
  49. },
  50. };
  51. export default props;