shared.js 438 B

12345678910111213141516171819202122232425262728
  1. "use strict";
  2. exports.__esModule = true;
  3. exports.switchProps = void 0;
  4. /**
  5. * Common Switch Props
  6. */
  7. var switchProps = {
  8. value: null,
  9. loading: Boolean,
  10. disabled: Boolean,
  11. activeColor: String,
  12. inactiveColor: String,
  13. activeValue: {
  14. type: null,
  15. "default": true
  16. },
  17. inactiveValue: {
  18. type: null,
  19. "default": false
  20. },
  21. size: {
  22. type: String,
  23. "default": '30px'
  24. }
  25. };
  26. exports.switchProps = switchProps;